Click or drag to resize
Xcalibur Systems LLC Logo

Endpoint Constructor

Initializes a new instance of the Endpoint class.

Namespace: Xcalibur.NativeMethods.V2.Networking
Assembly: Xcalibur.NativeMethods.V2 (in Xcalibur.NativeMethods.V2.dll) Version: 1.0.1.0
Syntax
public Endpoint(
	Protocols protocol,
	int processId,
	uint localAddress,
	ushort localPort,
	uint remoteAddress = 0,
	ushort remotePort = 0,
	TcpState state = TcpState.Listen
)

Parameters

protocol  Protocols
The protocol.
processId  Int32
The process identifier.
localAddress  UInt32
The local address.
localPort  UInt16
The local port.
remoteAddress  UInt32  (Optional)
The remote address.
remotePort  UInt16  (Optional)
The remote port.
state  TcpState  (Optional)
The state.
See Also