z/OS Communications Server: IP Messages Volume 3 (EZY)
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


EZY4064E

z/OS Communications Server: IP Messages Volume 3 (EZY)
SC27-3656-00

Bad address (EFAULT)

Explanation

An incorrect storage address or length was specified in the socket call. The following list displays some of the possible function calls that might return this error value:

Call Explanation
accept Using ADDR and ADDRLEN would result in an attempt to copy the address into a portion of the caller's address space into which information cannot be written.
bind Using NAME and NAMELEN would result in an attempt to copy the address into a nonwritable portion of the caller's address space.
connect Using NAME and NAMELEN would result in an attempt to copy the address into a portion of the caller's address space into which data cannot be written.
send Using the MSG and LEN parameters would result in an attempt to access storage outside the caller's address space.
takesocket Using the CLIENTID parameter as specified would result in an attempt to access storage outside the caller's address space.

System action

The socket call fails. TCPIP continues.

Operator response

None.

System programmer response

Use the information provided in the table above as a guide to the conditions under which this error can occur. Apply this to your application and correct the parameters of the appropriate socket call. For more information, see the z/OS Communications Server: IP Sockets Application Programming Interface Guide and Reference.

If you are still unable to determine the cause of the problem, create the problem again with CTRACE option SOCKET active. Contact the IBM® Software Support Center with the original message and the traces.

Module

TCPERROR

Procedure name

tcperror

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014