Summary of New Socket Options

The new socket options for Windows Sockets 2 are summarized in the following table. See getsockopt and setsockopt for detailed information on these options. The other new protocol-specific socket options can be found in the Protocol-specific Annex (a separate document included with the Platform SDK).

Value Type Meaning Default Note
SO_GROUP_ID GROUP Reserved for future use with socket groups: The identifier of the group to which this socket belongs. NULL get only
SO_GROUP
_PRIORITY
int Reserved for future use with socket groups: The relative priority for sockets that are part of a socket group. 0
SO_MAX_MSG
_SIZE
int Maximum outbound (send) size of a message for message-oriented socket types. There is no provision for finding out the maximum inbound message size. Has no meaning for stream-oriented sockets. Implementation dependent get only
SO_PROTOCOL
_INFO
struct WSAPROTOCOL_INFO Description of protocol info for protocol that is bound to this socket. protocol dependent get only
PVD_CONFIG char FAR * An opaque data structure object containing configuration information of the service provider. Implementation dependent