示例#1
0
 void OnErrorReceived(object sender, TcpErrorEventArgs args)
 {
     wasConnected = false;
     Log.Galaxy("OnErrorReceived: " + args.Message);
     if (ChatSettings.Me.UseReconnection)
     {
         ConnectAsync(true);
     }
 }
示例#2
0
        void OnError(TcpErrorEventArgs args)
        {
//        Console.WriteLine("onError...");
            EventHandler <TcpErrorEventArgs> temp = ErrorOccurred;

            if (temp != null)
            {
                temp(this, args);
            }
        }
示例#3
0
 void m_serverHandler_OnCommandError(object sender, TcpErrorEventArgs e)
 {
     logViewer.WriteLine("An error occured while trying to read a command: " + e.Error.Message, MessageType.Error);
 }