HvSocketEndPoint(Guid, Int32) Constructor

Initializes a new instance of the HvSocketEndPoint class using a VSock port number.

Definition

Namespace: Ookii.VmSockets
Assembly: Ookii.VmSockets (in Ookii.VmSockets.dll) Version: 1.0.0+087207370c685ccfa01d10830e6db3af2770247a
C#
public HvSocketEndPoint(
	Guid vmId,
	int port
)

Parameters

vmId  Guid
The ID of the virtual machine, or one of the well-known IDs defined in the VmId class.
port  Int32
The VSock port number. Valid values are between 0 and 0x7fffffff.

Remarks

This constructor can be used to create an endpoint that connects to a Linux guest that is using VSock sockets.

See Also