Example #1
0
 private void ServerSocket_Connect(NetworkThread.BufferedSocket sck)
 {
     if (sck.sck != null)
     {
         /* SUCCESS!!! */
         this.ServerSocket = sck;
         this._connected   = true;
         this.IRCSend("NICK " + this.MyNickname);
         this.IRCSend("USER " + this.MyUsername + " * * :" + this.MyRealname);
         this.IRCSend("PROTOCTL NAMESX");
     }
     else
     {
         /* FAILED :( */
         this.ServerPage.MessageInfo("Waah, couldn't connect: " + sck.sckError.ToString());
         return;
     }
 }
Example #2
0
 private void ServerSocket_Connect(NetworkThread.BufferedSocket sck)
 {
     if (sck.sck != null)
     {
         /* SUCCESS!!! */
         this.ServerSocket = sck;
         this._connected = true;
         this.IRCSend("NICK " + this.MyNickname);
         this.IRCSend("USER " + this.MyUsername + " * * :" + this.MyRealname);
         this.IRCSend("PROTOCTL NAMESX");
     }
     else
     {
         /* FAILED :( */
         this.ServerPage.MessageInfo("Waah, couldn't connect: " + sck.sckError.ToString());
         return;
     }
 }