An EventArgs wrapper around SocketError.
상속: System.EventArgs
예제 #1
0
 private void OnSessionSocketError(object sender, SocketErrorEventArgs args)
 {
     var session = (IServerSession)sender;
     this.logger.Debug(@"Session #{0} error: {1}", session.NetworkSessionId, args.Error);
 }
예제 #2
0
 private void OnSocketError(object sender, SocketErrorEventArgs e)
 {
     var handler = this.SocketError;
     if (handler != null)
     {
         handler(this, e);
     }
 }
 private void OnSocketError(object sender, SocketErrorEventArgs e)
 {
     SocketError?.Invoke(this, e);
 }