Platform SDK: Windows Sockets

Ioctls

The following commands are available.

Command Semantics
SIO_OSI_X25_GET_RESET_DATA Waits for an ISO 8208/X.25 reset to occur, and then returns the reset data associated with the reset. No input buffer is required. The 2 bytes of reset data are copied to the output buffer. The WSAENOPROTOOPT error code is indicated for service providers that do not support X.25 resets.
SIO_OSI_X25_GENERATE_RESET Generates an ISO 8208/X.25 reset. No output buffer is required, the 2 byes of reset data are obtained from the input buffer. The WSAENOPROTOOPT error code is indicated for service providers that do not support X.25 resets.
SIO_OSI_X25_SEND_QUALIFIED Indicates that the next message sent using one of the send functions, or WSASend, will be sent as qualified data. No buffers are required. It is not necessary to call this function for subsequent sends of the same message where the MSG_PARTIAL flag has been used. The WSAENOPROTOOPT error code is indicated for service providers that do not support X.25-qualified data.
SIO_OSI_X25_GET_QUALIFIED Waits until the next message that is received by the recv or WSARecv functions is ISO 8208/X.25-qualified data. This command only completes once for each message received, even if the MSG_PARTIAL flag is returned. The WSAENOPROTOOPT error code is indicated for service providers that do not support X.25-qualified data.