void OnErrorReceived(object sender, TcpErrorEventArgs args) { wasConnected = false; Log.Galaxy("OnErrorReceived: " + args.Message); if (ChatSettings.Me.UseReconnection) { ConnectAsync(true); } }
void OnError(TcpErrorEventArgs args) { // Console.WriteLine("onError..."); EventHandler <TcpErrorEventArgs> temp = ErrorOccurred; if (temp != null) { temp(this, args); } }
void m_serverHandler_OnCommandError(object sender, TcpErrorEventArgs e) { logViewer.WriteLine("An error occured while trying to read a command: " + e.Error.Message, MessageType.Error); }