Timeouts

Timeouts for Send, Recv, and Select can be specified in milliseconds.


The following special timeout values are available:

#define AF_TIMEOUT_INFINITE -1
#define AF_BLOCKING         -1
#define AF_NON_BLOCKING      0
A value of -1 indicates an infinite timeout. A value of 0 disables the timeout. Timeouts are specified in milliseconds.