TransportInfo Constructor |
Namespace: Ozeki.NetworkAssembly: OzekiSDK (in OzekiSDK.dll) Version: 1.8.12.0 (1.8.12)
Syntax public TransportInfo(
IPEndPoint localEndPoint,
TransportType protocol,
IPEndPoint remoteEndPoint,
int localOutgoingTcpPort = 0
)
Public Sub New (
localEndPoint As IPEndPoint,
protocol As TransportType,
remoteEndPoint As IPEndPoint,
Optional localOutgoingTcpPort As Integer = 0
)
public:
TransportInfo(
IPEndPoint^ localEndPoint,
TransportType protocol,
IPEndPoint^ remoteEndPoint,
int localOutgoingTcpPort = 0
)
new :
localEndPoint : IPEndPoint *
protocol : TransportType *
remoteEndPoint : IPEndPoint *
?localOutgoingTcpPort : int
(* Defaults:
let _localOutgoingTcpPort = defaultArg localOutgoingTcpPort 0
*)
-> TransportInfo
Parameters
- localEndPoint
- Type: System.NetIPEndPoint
The local endpoint. - protocol
- Type: Ozeki.NetworkTransportType
The type of the transport. - remoteEndPoint
- Type: System.NetIPEndPoint
The remote endpoint. - localOutgoingTcpPort (Optional)
- Type: SystemInt32
See Also