Class NewPeerConnectedEventArgs
- Namespace
- NLightning.Infrastructure.Transport.Events
- Assembly
- NLightning.Infrastructure.dll
public class NewPeerConnectedEventArgs : EventArgs
- Inheritance
-
NewPeerConnectedEventArgs
- Inherited Members
Constructors
NewPeerConnectedEventArgs(string, uint, TcpClient)
public NewPeerConnectedEventArgs(string host, uint port, TcpClient tcpClient)
Parameters
Properties
Host
Gets the host address of the connected peer.
public string Host { get; }
Property Value
Port
Gets the port number of the connected peer.
public uint Port { get; }
Property Value
TcpClient
Gets the TCP client associated with the newly connected peer.
public TcpClient TcpClient { get; }