ContentsIndex
Example
vm_soc_getsockopt

 

VM_SOC_TCP_DELAYED_ACK: 

val contains kal_bool to hold the option behavior. 

If you don't set this option, the default value you get is KAL_TRUE. 

If you to get this option, you can do: 

 

kal_bool val;
getsockopt(sock,  SOC_TCP_DELAYED_ACK, &val, sizeof(kal_bool))

 

 

VM_SOC_TCP_SACK: 

val contains kal_bool to hold the option behavior. 

If you don't set this option, the default value you get is KAL_TRUE. 

If you to get this option, you can do: 

 

kal_bool val;
getsockopt(sock,  SOC_TCP_SACK, &val, sizeof(kal_bool))

 

 

VM_SOC_TCP_TIME_STAMP: 

val contains kal_bool to hold the option behavior. 

If you don't set this option, the default value you get is KAL_TRUE. 

If you to get this option, you can do: 

kal_bool val;
getsockopt(sock,  SOC_TCP_TIME_STAMP, &val, sizeof(kal_bool))
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.