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


EZA4277E

z/OS Communications Server: IP Messages Volume 1 (EZA)
SC27-3654-00

get_myaddress: ioctl (get interface configuration)

Explanation

The function get_myaddress(), which puts the local host's IP address into addr, was unsuccessful because of a negative return value received from the ioctl() system call. The ioctl() system call controls the operating characteristics of sockets.

System action

The calling program ends.

Operator response

No action is needed.

System programmer response

Check for the correct entries declared in the s, cmd, and arg parameters of the ioctl() system call and the addr parameter of the get_myaddress() call, check that the network interface configuration is defined in an ifconf structure of the IF.H data set, and restart the program. See the z/OS Communications Server: IP Programmer's Guide and Reference for more information.

Module

PMAP@CLN

Procedure name

get_myaddress()

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014