ITransportFactoryContainerCreateTransport(String, Int32, TransportType, TransportShareMode) Method |
Namespace: Ozeki.NetworkAssembly: OzekiSDK (in OzekiSDK.dll) Version: 10.4.13.0
SyntaxITransport 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 String
-
- port Int32
-
- protocol TransportType
-
- mode TransportShareMode (Optional)
-
Return Value
ITransport
See Also