Exemple #1
0
 private void MessageReader_ReadError(object obj, Network.EventArgs.NetworkMessageErrorEventArgs e)
 {
     handleClientDisconnected();
 }
Exemple #2
0
 private void MessageReader_ReadError(object obj, Network.EventArgs.NetworkMessageErrorEventArgs e)
 {
     Logger.log.Info($"Read error: {getServerBroadcastClientByTcpClient(e.TcpClient)?.Client}");
     Logger.log.Error(e.Exception);
     removeClientFromListByTcpClient(e.TcpClient, true);
 }