VSockSocketOption Enumeration

Defines socket options available for VSock 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 AddressFamily as the level. Use the helper functions in the VSock class to get and set these options.

Members

BufferSize0 The buffer size for a stream socket. The value will be clamped to the minimum and maximum buffer sizes. Type: UInt64.
BufferMinSize1 The minimum buffer size for a stream socket. Type: UInt64.
BufferMaxSize2 The maximum buffer size for a stream socket. Type: UInt64.
PeerHostVmId3 Retrieves the host-specific VM ID of the peer. Type: Int32.
Trusted5 Determines if a socket is trusted. A non-zero value indicates that the socket is trusted. Type: Int32.
ConnectTimeout6 The connection timeout for a stream socket. Type: a Linux timeval structure.

See Also