|
Endpoint Constructor |
Initializes a new instance of the
Endpoint class.
Namespace: Xcalibur.NativeMethods.V2.NetworkingAssembly: 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
)
Public Sub New (
protocol As Protocols,
processId As Integer,
localAddress As UInteger,
localPort As UShort,
Optional remoteAddress As UInteger = 0,
Optional remotePort As UShort = 0,
Optional state As TcpState = TcpState.Listen
)
public:
Endpoint(
Protocols protocol,
int processId,
unsigned int localAddress,
unsigned short localPort,
unsigned int remoteAddress = 0,
unsigned short remotePort = 0,
TcpState state = TcpState::Listen
)
new :
protocol : Protocols *
processId : int *
localAddress : uint32 *
localPort : uint16 *
?remoteAddress : uint32 *
?remotePort : uint16 *
?state : TcpState
(* Defaults:
let _remoteAddress = defaultArg remoteAddress 0
let _remotePort = defaultArg remotePort 0
let _state = defaultArg state TcpState.Listen
*)
-> Endpoint
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