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


EZY4097E

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

Address family not supported by protocol family (EAFNOSUPPORT)

Explanation

The address family specified in the socket call is not supported by the protocol specified. It must be either AF_IUCV or AF_INET. The protocol field must be set to 0 if the domain parameter is set to AF_IUCV. The following table displays some of the possible function calls that might return this error value:
bind
The address family is not supported (it is not AF_IUCV or AF_INET).
connect
The address family is not supported.

System action

The socket call abends. 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 information 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.

Module

TCPERROR

Procedure name

tcperror

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014