GETHOSTBYADDR takes an IP address and domain and tries to resolve it through a name server. If successful, it returns the information in a HOSTENT structure.
Assembler
label #SOCKET GETHOSTBYADDR,
RETCODE=return-code,
ERRNO=errno,
RSNCODE=reason-code,
IPADDR=ip-address,
IPADDRL=ip-address-length,
DOMAIN=domain,
HOSTENTP=hostentp,
PLIST=parameter-list-area,
RGSV=(rgsv)
List of USING Parameters
SOCKET-FUNCTION-GETHOSTBYADDR, return-code, errno, reason-code, ip-address, ip-address-length, domain, hostentp
|
Copyright © 2014 CA.
All rights reserved.
|
|