This is preliminary documentation and is subject to change.

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-preview+f8696045525769a78b927dc73288e964721869c8
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 HvSocket 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