s = socket(domain, type, protocol);
The NuTCRACKER Platform implements sockets on top of Winsock 2.0. All domains (address families), types, and protocols supported by Winsock 2.0 are supported.
- FIOGETOWN
-
This request is equivalent to fcntl(filedes, F_GETOWN).
- FIOSETOWN
-
This request is equivalent to fcntl(filedes, F_SETOWN, arg), respectively. The argument to the request is a process ID or process group ID, as described for F_SETOWN under .
- FIOASYNC
-
This request is equivalent to using the command F_SETFL to set or clear the O_ASYNC flag. The argument to the request is a variable of type unsigned long. If this variable is non-zero, the O_ASYNC flag is set, otherwise it is cleared.
- FIONBIO
-
This request is equivalent to using the command F_SETFL to set or clear the O_NONBLOCK flag. The argument to the request is a variable of type unsigned long. If this variable is non-zero, the O_NONBLOCK flag is set, otherwise it is cleared.
- FIONREAD
-
This request is used to determine the amount of data available to be read from the socket. The argument to the request is the address of a variable of type unsigned long, which receives the number of bytes currently available to be read.
- SIOCATMARK
-
This request is used to determine whether the current read position for the socket is pointing at out-of-bound data. The argument to the request is the address of a variable of type unsigned long. If the current read pointer is at out-of-band data, this variable is set to a non-zero value. If the current read pointer is not at out-of-band data, the variable is set to zero.
None.
MKS Toolkit for Professional Developers
MKS Toolkit for Enterprise Developers
MKS Toolkit for Enterprise Developers 64-Bit Edition
- Functions:
- ,
MKS Toolkit 9.1 Documentation Build 7.