EZA4277E 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()