Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
setibmsockopt() z/OS Communications Server: IP Sockets Application Programming Interface Guide and Reference SC27-3660-00 |
|
Like setsockopt() call, the setibmsockopt() call sets the options associated with a socket in the AF_INET domain. This call is for options specific to the IBM® implementation of sockets.
SO_IGNOREINCOMINGPUSH is another option to consider. This option is meaningful only for stream sockets. This option is effective only for connections established through an offload box. If optval points to 1, the option is set. If optval points to 0, the option is off. The SO_IGNOREINCOMINGPUSH option causes a receive
call to return when one of the following situations occurs:
This option is not appropriate to your operation if your program depends on receiving data before the connection is closed. For example, this option is appropriate for an FTP data connection, but not for a Telnet connection. Return valuesThe value 0 indicates success;
the value -1 indicates an error. Errno identifies the specific error.
Example
Related callsgetibmsockopt(), getsockopt(), ibmsflush(), setsockopt() |
Copyright IBM Corporation 1990, 2014
|