VSockEndPoint Constructor
Namespace: Ookii.VmSocketsAssembly: Ookii.VmSockets (in Ookii.VmSockets.dll) Version: 1.0.0+087207370c685ccfa01d10830e6db3af2770247a
public VSockEndPoint(
int contextId = -1,
int port = -1
)
Public Sub New (
Optional contextId As Integer = -1,
Optional port As Integer = -1
)
public:
VSockEndPoint(
int contextId = -1,
int port = -1
)
new :
?contextId : int *
?port : int
(* Defaults:
let _contextId = defaultArg contextId -1
let _port = defaultArg port -1
*)
-> VSockEndPoint
Parameters
- contextId Int32 (Optional)
-
Context ID identifying the destination. This can be one of the well known CID values
defined in the ContextId class.
- port Int32 (Optional)
-
The port number, or VSockAnyPort to bind to any available
port.