z/OS Communications Server: IP Programmer's Guide and Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


SIOCSAPPLDATA output

z/OS Communications Server: IP Programmer's Guide and Reference
SC27-3659-02

The SIOCSAPPLDATA IOCTL sets the following return codes and reason codes:
Table 1. SIOCSAPPLDATA IOCTL return and reason codes
ReturnValue ReturnCode ReasonCode Meaning
0 0 0 The request was successful.
-1 EProtoType JrSocketTypeNotSupported The request was not successful. The socket is not a stream (TCP) socket.
-1 EINVAL JrSocketCallParmError The input parameter is not a correctly formatted SetApplData structure. Either the SetAD_eye1 or the SetAD_ver field is incorrect or the storage pointed to by the SetAD_ptr field did not contain a correctly formatted SetADcontainer structure. The SetAD_eye2 field is incorrect.
-1 EINVAL JrBuffLenInvalid SetAD_len contains an incorrect length for the SetAD_ver value of the SetADcontainer structure.
-1 EFault JrBadInputBufAddr An abend occurred while attempting to copy the SetADcontainer structure from the address provided in SetAD_ptr field.
-1 ENOBUFS JrSmNoStorage There was no storage available to store the associated data.
The SIOCSAPPLDATA call can be issued on stream sockets only. No application authorization is required. Each time the ioctl call is issued, the application data is replaced. If the call is issued on a socket prior to issuing a listen() call, the application data is inherited by all connections accepted over that socket. If the call is issued on a socket after issuing a listen() call, the application data is inherited by all connections accepted over that socket that arrive after the ioctl call is processed.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014