public enum SocketOption
Public Enumeration SocketOption
public enum class SocketOption
type SocketOption
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.
BufferSize | 0 | The buffer size for a stream socket. The value will be clamped to the minimum and maximum buffer sizes. Type: UInt64. |
BufferMinSize | 1 | The minimum buffer size for a stream socket. Type: UInt64. |
BufferMaxSize | 2 | The maximum buffer size for a stream socket. Type: UInt64. |
PeerHostVmId | 3 | Retrieves the host-specific VM ID of the peer. Type: Int32. |
Trusted | 5 | Determines if a socket is trusted. A non-zero value indicates that the socket is trusted. Type: Int32. |
ConnectTimeout | 6 | The connection timeout for a stream socket. Type: a Linux timeval structure. |