예제 #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);
        }
예제 #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);
 }
예제 #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);
 }
예제 #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);
 }
예제 #5
0
 private void SocketServer_SessionTimeout(object sender, TSessionEventArgs e)
 {
     this.AddInfo("Session timeout: ip " + e.SessionBaseInfo.IP);
 }
예제 #6
0
파일: Program.cs 프로젝트: loveishere/A-B-
 static void socketClient_SessionConnected(object sender, TSessionEventArgs e)
 {
     //Business.InvokeMethod(frmCurrent, "showConnect", new object[] { });
 }
예제 #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);
 }
예제 #8
0
파일: Form1.cs 프로젝트: levelfire/lt_test
 //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);
        }