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
Hi, TcpSocketListener stops receive after first time.
public TcpSocketListener listener;
var listenPort = 8912;
listener = new TcpSocketListener();
listener.ConnectionReceived += DO;
AsyncHelpers.RunSync(async () => await listener.StartListeningAsync(listenPort));
I try to reinit this. Do not working:
listener.StopListeningAsync();
listener.Dispose();
listener = new TcpSocketListener();
listener.ConnectionReceived += DO;
AsyncHelpers.RunSync(async () => await listener.StartListeningAsync(8912));
listener.ConnectionReceived += DO;
I dont know, why
The text was updated successfully, but these errors were encountered:
Hi, TcpSocketListener stops receive after first time.
public TcpSocketListener listener;
var listenPort = 8912;
listener = new TcpSocketListener();
listener.ConnectionReceived += DO;
AsyncHelpers.RunSync(async () => await listener.StartListeningAsync(listenPort));
I try to reinit this. Do not working:
listener.StopListeningAsync();
listener.Dispose();
listener = new TcpSocketListener();
listener.ConnectionReceived += DO;
AsyncHelpers.RunSync(async () => await listener.StartListeningAsync(8912));
listener.ConnectionReceived += DO;
I dont know, why
The text was updated successfully, but these errors were encountered: