HP X.25/9000 Programmer's Guide
110 Chapter6
Extended Features
Getting Programmatic Diagnostics and Status Information
returned.
addr If the call completes successfully, this
x25addrstr
structure contains the
X.121 address specified by the remote process to make the connection.
This information is useful when using wildcard addressing.
addrlen If the call completes successfully,
addrlen
contains the length in bytes of
the
x25addrstr
structure pointed to by
addr
. Before calling
getpeername(), this field must be initialized with the size of the
x25addrstr
structure.
error If the call completes successfully, error contains a 0. Otherwise, –1 is
returned and
errno
contains the cause of the error.
Refer to the getsockname(2) entry in your man pages for more
information.
36960-90061.bk Page 110 Friday, November 10, 2000 3:42 PM










