public void Receive() { while (Online) { try { Socket s = TcpServer.AcceptSocket(); TaskManager.SpawnTaskThread(ThreadRole.Standard); TaskManager.AddAsyncTask(delegate { AcceptClient(s); }); } catch { } } }
public void Receive() { while (Online) { try { Socket s = TcpServer.AcceptSocket(); TaskManager.SpawnTaskThread(ThreadRole.Standard); TaskManager.AddAsyncTask(delegate { AcceptClient(s); }); } catch { } } }