public RemoteSender(Peer owner, Socket socket) { this.owner = owner; this.socket = socket; }
private void HandleFailed(Peer peer, Exception ex) { if (ex != null) logger.Debug(ex, $"Remote peer failed: {this.RemoteEndPoint}"); else logger.Debug($"Remote peer failed: {this.RemoteEndPoint}"); Disconnect(ex); }
public RemoteReceiver(Peer owner, Socket socket) { this.owner = owner; this.socket = socket; }