SockGetHostByAddr

The SockGetHostByAddr() call retrieves information about a specific host using its address.

Syntax:

>>--SockGetHostByAddr(dotAddress, host--+------------+--)----------------><
                                        +--, domain--+

where:

dotAddress

is the standard dotted decimal address of the host.

host

is a stem variable that is to receive the information on the host.

domain

is the domain AF_INET. This parameter is optional.

Return values:

The value 1 indicates successful execution of the call. The value 0 indicates an error.

Note: SockGetHostByAdress() interfaces with the C function gethostbyaddr().