I'm looking to use lidgren in a simple chat server. Now I've looked at the samples in the lidgren source and have noticed the following,
For winforms apps they use the Application_Idle handler combined with the NativeMethods.AppStill Idle prop to manage running of the lidgren message pump
For console apps something similar is done via Console.IsKeyAvailable
My question is then what would be the suggested equivalent within a windows service application?