The SockGetHostByAddr() call retrieves information about a specific host using its address.
Syntax:
>>--SockGetHostByAddr(dotAddress, host--+------------+--)---------------->< +--, domain--+
where:
is the standard dotted decimal address of the host.
is a stem variable that is to receive the information on the host.
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().