public void StartHandling() { Thread handler = new Thread(Handler); handler.Priority = ThreadPriority.AboveNormal; handler.Start(); } //proxy Segregation
// new connection public void AcceptConnection() { Socket newClient = this.listener.AcceptSocket(); ClientConnection client = new ClientConnection(newClient, coapWebSocektService, coapPortName); client.StartHandling(); }