NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

SocketOption Fields

The fields of the SocketOption class are listed below. For a complete list of SocketOption class members, see the SocketOption Members topic.

Public:

IpAddMembership Add an IP group membership.
IpDropMembership Drop an IP group membership.
IpMulticastLoop IP Multicast loopback.
IpMulticastTTL IP multicast time to live.
OptionLevelIP Indicates socket options apply to IP sockets.
OptionLevelTCP Indicates socket options apply to TCP sockets.
SoAcceptConn Socket is listening.
SoBroadcast Permit sending broadcast messages on the socket.
SoDebug Record debugging information.
SoDontLingee Does not block waiting for unsent data to be sent.
SoDontRoute Do not route, send directly to interface addresses.
SoError Get error status and clear.
SoExclusiveAddrUse Enables a socket to be bound for exclusive access.
SoKeepalive Send keep-alives.
SoLinger Linger on close if unsent data is present.
SolSocket Indicates socket options apply to the socket itself.
SoMaxConn Maximum queue length that can be specified by Listen.
SoOOBInline Receives out-of-band data in the normal data stream.
SoRcvBuf Specifies the total per-socket buffer space reserved for receives. This is unrelated to the maximum message size or the size of a TCP window.
SoRcvLowat Receive low water mark.
SoRcvTimeo Receive timeout.
SoReuseAddr Allows the socket to be bound to an address that is already in use.
SoSndBuf Specifies the total per-socket buffer space reserved for sends. This is unrelated to the maximum message size or the size of a TCP window.
SoSndLowat Send low water mark.
SoSndTimeo Send timeout.
SoType Get socket type.
SoUseLoopback Bypass hardware when possible.
TcpBSDUrgent [To be supplied.]
TcpNodelay Disables the Nagle algorithm for send coalescing.

See Also

SocketOption Class | System.Net.Sockets Namespace