ITransportFactoryContainerCreateTransport Method (String, Int32, TransportType, TransportShareMode) |
Namespace: Ozeki.NetworkAssembly: OzekiSDK (in OzekiSDK.dll) Version: 1.8.12.0 (1.8.12)
Syntax ITransport CreateTransport(
string localAddress,
int port,
TransportType protocol,
TransportShareMode mode = TransportShareMode.Exclusive
)
Function CreateTransport (
localAddress As String,
port As Integer,
protocol As TransportType,
Optional mode As TransportShareMode = TransportShareMode.Exclusive
) As ITransport
ITransport^ CreateTransport(
String^ localAddress,
int port,
TransportType protocol,
TransportShareMode mode = TransportShareMode::Exclusive
)
abstract CreateTransport :
localAddress : string *
port : int *
protocol : TransportType *
?mode : TransportShareMode
(* Defaults:
let _mode = defaultArg mode TransportShareMode.Exclusive
*)
-> ITransport
Parameters
- localAddress
- Type: SystemString
- port
- Type: SystemInt32
- protocol
- Type: Ozeki.NetworkTransportType
- mode (Optional)
- Type: Ozeki.NetworkTransportShareMode
Return Value
Type:
ITransportSee Also