You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My base is the WebSocketEventListener sample. I prefer to use the event approach.
The following method starts the server and exits immediately.
`
protected override void OnStart(string[] args)
{
var endpoint = new IPEndPoint(IPAddress.Any, 4002);
The examples use Console application with the following code to start the server:
server.Start();
Console.ReadKey(true);
But once I wrap it in a Windows service Console.ReadKey is not available.
Any advice how to modify it?
Thanks
The text was updated successfully, but these errors were encountered: