HvSocketEndPoint(Guid, Int32) Constructor
Initializes a new instance of the
HvSocketEndPoint class using a VSock port
number.
Namespace: Ookii.VmSocketsAssembly: Ookii.VmSockets (in Ookii.VmSockets.dll) Version: 1.0.0-preview+f8696045525769a78b927dc73288e964721869c8
public HvSocketEndPoint(
Guid vmId,
int port
)
Public Sub New (
vmId As Guid,
port As Integer
)
public:
HvSocketEndPoint(
Guid vmId,
int port
)
new :
vmId : Guid *
port : int -> HvSocketEndPoint
Parameters
- vmId Guid
-
The ID of the virtual machine, or one of the well-known IDs defined in the
HvSocket class.
- port Int32
- The VSock port number. Valid values are between 0 and 0x7fffffff.
This constructor can be used to create an endpoint that connects to a Linux guest that is
using VSock sockets.