%ioctlsocket() Function

The %ioctlsocket() function controls the I/O mode of a socket.

See your host OS documentation for more information on this function.