Example #1
0
        private void SocketServer_DatagramrError(object sender, TSessionEventArgs e)
        {
            //this.tb_DatagramCount.Text = _socketServer.ReceivedDatagramCount.ToString();
            //this.tb_DatagramQueueCount.Text = _socketServer.DatagramQueueLength.ToString();
            //this.tb_ErrorDatagramCount.Text = _socketServer.ErrorDatagramCount.ToString();

            this.AddInfo("datagram error. ip: " + e.SessionBaseInfo.IP);
        }
Example #2
0
 private void SocketServer_SessionDisconnected(object sender, TSessionEventArgs e)
 {
     //this.tb_SessionCount.Text = _socketServer.SessionCount.ToString();
     this.AddInfo("Session disconnected: ip " + e.SessionBaseInfo.IP);
 }
Example #3
0
 private void SocketServer_SessionSendException(object sender, TSessionEventArgs e)
 {
     //this.tb_SessionCount.Text = _socketServer.SessionCount.ToString();
     //this.tb_ClientExceptionCount.Text = _socketServer.SessionExceptionCount.ToString();
     this.AddInfo("Session send exception: ip " + e.SessionBaseInfo.IP);
 }
Example #4
0
 private void SocketServer_DatagramHandled(object sender, TSessionEventArgs e)
 {
     this.tb_DatagramCount.Text      = m_socketServer.ReceivedDatagramCount.ToString();
     this.tb_DatagramQueueCount.Text = m_socketServer.DatagramQueueLength.ToString();
     this.AddInfo("datagram handled. ip: " + e.SessionBaseInfo.IP);
 }
Example #5
0
 private void SocketServer_SessionTimeout(object sender, TSessionEventArgs e)
 {
     this.AddInfo("Session timeout: ip " + e.SessionBaseInfo.IP);
 }
Example #6
0
 static void socketClient_SessionConnected(object sender, TSessionEventArgs e)
 {
     //Business.InvokeMethod(frmCurrent, "showConnect", new object[] { });
 }
Example #7
0
 private void SocketServer_SessionReceiveException(object sender, TSessionEventArgs e)
 {
     this.tb_SessionCount.Text         = m_socketServer.SessionCount.ToString();
     this.tb_ClientExceptionCount.Text = m_socketServer.SessionExceptionCount.ToString();
     this.AddInfo("Session receive exception: ip " + e.SessionBaseInfo.IP);
 }
Example #8
0
 //2011.11.16 增加log输出
 private void SocketServer_DatagramLogout(object sender, TSessionEventArgs e)
 {
     this.AddInfo("datagram logout: " + e.SessionBaseInfo.Logout);
 }
 private void SocketServer_SessionTimeout(object sender, TSessionEventArgs e)
 {
     this.AddInfo("Session timeout: ip " + e.SessionBaseInfo.IP);
 }
 private void SocketServer_SessionSendException(object sender, TSessionEventArgs e)
 {
     //this.tb_SessionCount.Text = _socketServer.SessionCount.ToString();
     //this.tb_ClientExceptionCount.Text = _socketServer.SessionExceptionCount.ToString();
     this.AddInfo("Session send exception: ip " + e.SessionBaseInfo.IP);
 }
 private void SocketServer_SessionDisconnected(object sender, TSessionEventArgs e)
 {
     //this.tb_SessionCount.Text = _socketServer.SessionCount.ToString();
     this.AddInfo("Session disconnected: ip " + e.SessionBaseInfo.IP);
 }
        private void SocketServer_DatagramrError(object sender, TSessionEventArgs e)
        {
            //this.tb_DatagramCount.Text = _socketServer.ReceivedDatagramCount.ToString();
            //this.tb_DatagramQueueCount.Text = _socketServer.DatagramQueueLength.ToString();
            //this.tb_ErrorDatagramCount.Text = _socketServer.ErrorDatagramCount.ToString();

            this.AddInfo("datagram error. ip: " + e.SessionBaseInfo.IP);
        }