Syntax
typedef enum {
  VM_SOC_OOBINLINE = 0x01<<0,
  VM_SOC_LINGER = 0x01<<1,
  VM_SOC_NBIO = 0x01<<2,
  VM_SOC_ASYNC = 0x01<<3,
  VM_SOC_NODELAY = 0x01<<4,
  VM_SOC_KEEPALIVE = 0x01<<5,
  VM_SOC_RCVBUF = 0x01<<6,
  VM_SOC_SENDBUF = 0x01<<7,
  VM_SOC_NREAD = 0x01<<8,
  VM_SOC_PKT_SIZE = 0x01<<9,
  VM_SOC_SILENT_LISTEN = 0x01<<10,
  VM_SOC_QOS = 0x01<<11,
  VM_SOC_TCP_MAXSEG = 0x01<<12,
  VM_SOC_IP_TTL = 0x01<<13,
  VM_SOC_LISTEN_BEARER = 0x01<<14,
  VM_SOC_UDP_ANY_FPORT = 0x01<<15,
  VM_SOC_WIFI_NOWAKEUP = 0x01<<16,
  VM_SOC_UDP_NEED_ICMP = 0x01<<17,
  VM_SOC_IP_HDRINCL = 0x01<<18,
  VM_SOC_IPSEC_POLICY = 0x01<<19,
  VM_SOC_TCP_ACKED_DATA = 0x01<<20,
  VM_SOC_TCP_DELAYED_ACK = 0x01<<21,
  VM_SOC_TCP_SACK = 0x01<<22,
  VM_SOC_TCP_TIME_STAMP = 0x01<<23,
  VM_SOC_TCP_ACK_MSEG = 0x01<<24
} VM_SOC_OPTION;
ContentsIndex
PreviousUpNext
VM_SOC_OPTION
Syntax
typedef enum {
  VM_SOC_OOBINLINE = 0x01<<0,
  VM_SOC_LINGER = 0x01<<1,
  VM_SOC_NBIO = 0x01<<2,
  VM_SOC_ASYNC = 0x01<<3,
  VM_SOC_NODELAY = 0x01<<4,
  VM_SOC_KEEPALIVE = 0x01<<5,
  VM_SOC_RCVBUF = 0x01<<6,
  VM_SOC_SENDBUF = 0x01<<7,
  VM_SOC_NREAD = 0x01<<8,
  VM_SOC_PKT_SIZE = 0x01<<9,
  VM_SOC_SILENT_LISTEN = 0x01<<10,
  VM_SOC_QOS = 0x01<<11,
  VM_SOC_TCP_MAXSEG = 0x01<<12,
  VM_SOC_IP_TTL = 0x01<<13,
  VM_SOC_LISTEN_BEARER = 0x01<<14,
  VM_SOC_UDP_ANY_FPORT = 0x01<<15,
  VM_SOC_WIFI_NOWAKEUP = 0x01<<16,
  VM_SOC_UDP_NEED_ICMP = 0x01<<17,
  VM_SOC_IP_HDRINCL = 0x01<<18,
  VM_SOC_IPSEC_POLICY = 0x01<<19,
  VM_SOC_TCP_ACKED_DATA = 0x01<<20,
  VM_SOC_TCP_DELAYED_ACK = 0x01<<21,
  VM_SOC_TCP_SACK = 0x01<<22,
  VM_SOC_TCP_TIME_STAMP = 0x01<<23,
  VM_SOC_TCP_ACK_MSEG = 0x01<<24
} VM_SOC_OPTION;
Description

Socket Options

File

vmsock.h

Members
Members 
Description 
VM_SOC_OOBINLINE = 0x01<<0 
Not supported. 
VM_SOC_LINGER = 0x01<<1 
Linger on close. 
VM_SOC_NBIO = 0x01<<2 
Non-blocking. 
VM_SOC_ASYNC = 0x01<<3 
Asynchronous notification. 
VM_SOC_NODELAY = 0x01<<4 
Disable Nagle algorithm or not. 
VM_SOC_KEEPALIVE = 0x01<<5 
Enable/disable the keepalive. 
VM_SOC_RCVBUF = 0x01<<6 
Set the socket receive buffer size. 
VM_SOC_SENDBUF = 0x01<<7 
Set the socket send buffer size. 
VM_SOC_NREAD = 0x01<<8 
The number of bytes for read, only for soc_getsockopt. 
VM_SOC_PKT_SIZE = 0x01<<9 
Datagram maximum packet size. 
VM_SOC_SILENT_LISTEN = 0x01<<10 
SOC_SOCK_SMS property. 
VM_SOC_QOS = 0x01<<11 
Set the socket QoS. 
VM_SOC_TCP_MAXSEG = 0x01<<12 
Set the maximum segment size. 
VM_SOC_IP_TTL = 0x01<<13 
Set the IP TTL value. 
VM_SOC_LISTEN_BEARER = 0x01<<14 
Enable listen bearer. 
VM_SOC_UDP_ANY_FPORT = 0x01<<15 
Enable UDP any foreign port. 
VM_SOC_WIFI_NOWAKEUP = 0x01<<16 
Send packet in power saving mode. 
VM_SOC_UDP_NEED_ICMP = 0x01<<17 
Deliver NOTIFY(close) for ICMP error. 
VM_SOC_IP_HDRINCL = 0x01<<18 
IP header included for raw sockets. 
VM_SOC_IPSEC_POLICY = 0x01<<19 
IP security policy. 
VM_SOC_TCP_ACKED_DATA = 0x01<<20 
TCP/IP acknowledgement data. 
VM_SOC_TCP_DELAYED_ACK = 0x01<<21 
TCP delayed acknowledgement. 
VM_SOC_TCP_SACK = 0x01<<22 
TCP selective acknowledgement. 
VM_SOC_TCP_TIME_STAMP = 0x01<<23 
TCP timestamp. 
VM_SOC_TCP_ACK_MSEG = 0x01<<24 
TCP ACK multiple segments. 
Group
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.