Table of Contents

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

host string
port uint
tcpClient TcpClient

Properties

Host

Gets the host address of the connected peer.

public string Host { get; }

Property Value

string

Port

Gets the port number of the connected peer.

public uint Port { get; }

Property Value

uint

TcpClient

Gets the TCP client associated with the newly connected peer.

public TcpClient TcpClient { get; }

Property Value

TcpClient