Summary of New Socket Ioctl Opcodes

The new socket ioctl opcodes for Windows Sockets 2 are summarized in the following table. See WSAIoctl for detailed information on these opcodes. The WSAIoctl function also supports all the ioctl opcodes specified in ioctlsocket. Theother new protocol-specific ioctl opcodes can be found in the Protocol-specific Annex (a separate document included with the Win32 SDK).

Opcode
Input Type
Output Type
Meaning
SIO_ASSOCIATE
_HANDLE
companion API dependent
<not used>
Associate the socket with the specified handle of a companion interface.
SIO_ENABLE
_CIRCULAR
_QUEUEING
<not used>
<not used>
Circular queuing is enabled.
SIO_FIND_ROUTE
struct sockaddr
<not used>
Request the route to the specified address to be discovered.
SIO_FLUSH
<not used>
<not used>
Discard current contents of the sending queue.
SIO_GET
_BROADCAST
_ADDRESS
<not used>
struct sockaddr
Retrieve the protocol-specific broadcast address to be used in sendto/WSASendTo.
SIO_GET_QOS
<not used>
QOS
Retrieve current flow specification(s) for the socket.
SIO_GET_GROUP
_QOS
<not used>
QOS
Retrieve current group flow specification(s) for the group this socket belongs to.
SIO_MULTIPOINT
_LOOKBACK
BOOL
<not used>
Control whether data sent in a multipoint session will also be received by the same socket on the local host.
SIO_MULTICAST
_SCOPE
int
<not used>
Specify the scope over which multicast transmissions will occur.
SIO_SET_QOS
QOS
<not used>
Establish new flow specification(s) for the socket.
SIO_SET_GROUP
_QOS
QOS
<not used>
Establish new group flow specification(s) for the group this socket belongs to.
SIO_TRANSLATE
_HANDLE
int
companion API dependent
Obtain a corresponding handle for socket s that is valid in the context of a companion interface.

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database