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