private void OnSessionSocketError(object sender, SocketErrorEventArgs args) { var session = (IServerSession)sender; this.logger.Debug(@"Session #{0} error: {1}", session.NetworkSessionId, args.Error); }
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); }