Пример #1
0
 private void ConnectedClients_FormClosed(object sender, FormClosedEventArgs e)
 {
     myServer.Stop();
     t.Abort();
 }
Пример #2
0
 private void StopServer()
 {
     server.Stop();
 }