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