HvSocketSocketOption Enumeration

Defines socket options available for Hyper-V sockets.

Definition

Namespace: Ookii.VmSockets
Assembly: Ookii.VmSockets (in Ookii.VmSockets.dll) Version: 1.0.0+087207370c685ccfa01d10830e6db3af2770247a
C#
public enum SocketOption

Remarks

All these options use the value of RawProtocol as the level. Use the helper methods in the HvSocket class to get and set these options.

Members

ConnectTimeout1 Sets the connection timeout for the socket in milliseconds. Type: UInt32.
ContainerPassthru2 Indicates the connection will pass through to a container. A non-zero value indicates the option is enabled. Type: UInt32.
ConnectedSuspend4 Indicates that the socket will not disconnect when the VM is paused. A non-zero value indicates the option is enabled. Type: UInt32.
HighVtl8 Indicates that the socket will connect to the guest's management VTL. A non-zero value indicates the option is enabled. Type: UInt32.

See Also