Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Non-Blocking socket primer z/OS Cryptographic Services System SSL Programming SC14-7495-00 |
|||||||||||||||||||||||||||||||||||||
When a server wants to communicate with clients by using a socket, these routines are used:
Once the accept() routine is called, the server blocks until data is available for the socket. Problems arise when the server wants to monitor multiple sockets simultaneously or if the server wants to perform other tasks until data is available on the socket. However, by configuring the socket as non-blocking, these problems may be avoided. For more information, see Enable/disable non-blocking mode. When using non-blocking sockets, the select() routine is used to instruct the system to notify the server application when data is available on a particular socket.
|
Copyright IBM Corporation 1990, 2014
|