private void fmTcpClientThread_FormClosed(object sender, FormClosedEventArgs e)
 {
     timer.Dispose();
     ct.StopConnect();
 }
Exemple #2
0
 private void OnApplicationQuit()
 {
     ct.StopConnect();
 }
Exemple #3
0
 private void OnApplicationQuit() //Sent to all game objects before the application is quit.
 {
     ct.StopConnect();            //Close Socket
 }
Exemple #4
0
 private void OnApplicationQuit()
 {
     ct.Send("bye");
     ct.StopConnect();
 }