This section lists the NetWare specific Winsock 2 flag extension values that are defined in novsock2.h that affect the way in which completion routines are called only when using overlapped I/O.
The dwIoControlCode parameter in the WSAIoctl function and the cmd parameter in the ioctlsocket function (see Windows* Sockets 2 Application Programming Interface) can have the following values:
The dwFlags parameter in the WSASocket function (see Windows* Sockets 2 Application Programming Interface) can have the following values:
This documentation lists the values to use with SSL/TLS (see Section 38.6, Secure Sockets Layer (SSL) and Transport Layer Security (TLS) for a description).
All SSL/TLS controls call WSAIoctl, with the following dwIoControlCode values:
The âTâ value is as follows
#define _SO_TLS ((2L<<27)|<0x73L<<16))
The code values are as follows:
0x01 _SO_TLS_FLAGS 0x02 _SO_TLS_CIPHERS 0x04 _SO_TLS_SERVER 0x40 _SO_TLS_CERT
The loctl commands are as follows:
Constant |
IOCTL Constant |
Where Used |
---|---|---|
SO_TLS_GET_FLAGS |
(IOC_IN|_SO_TLS|_SO_TLS_FLAGS) |
See Get and Set Flags. |
SO_TLS_SET_FLAGS |
(IOC_OUT|_SO_TLS|_SO_TLS_FLAGS) |
See Get and Set Flags. |
SO_TLS_GET_CIPHERS |
(IOC_IN|_SO_TLS|_SO_TLS_CIPHERS) |
See tlscipheropts. |
SO_TLS_GET_CLIENT |
(IOC_IN|_SO_TLS|_SO_TLS_CLIENT) |
See tlsclientopts. |
SO_TLS_SET_CLIENT |
(IOC_OUT|_SO_TLS|_SO_TLS_CLIENT) |
See tlsclientopts. |
SO_TLS_GET_SERVER |
(IOC_IN|_SO_TLS|_SO_TLS_SERVER) |
See tlsserveropts. |
SO_TLS_SET_SERVER |
(IOC_OUT|_SO_TLS|_SO_TLS_SERVER) |
See tlsserveropts. |
SO_TLS_GET_CERT |
(IOC_IN|_SO_TLS|_SO_TLS_CERT) |
See tlscert. |
WSAIoctl is used to get and set the flags associated with the socket. The lpvInBuffer parameter points to a WORD, with the following flags: