GETADDRINFO converts a host name and/or a service name into a set of socket addresses and other associated information. This information can be used to open a socket and connect to the specified service.
Assembler
label #SOCKET GETADDRINFO,
RETCODE=return-code,
ERRNO=errno,
RSNCODE=reason-code,
HOSTNAME=hostname,
HOSTNAML=hostname-length,
SERVNAME=service-name,
SERVNAML=service-name-length,
AINFOIN=pointer-to-input-addrinfo-structure,
AINFOOUT=pointer-to-output-addrinfo-structure,
CANONAML=canonical-name-length,
PLIST=parameter-list-area,
RGSV=(rgsv)
List of USING Parameters
SOCKET-FUNCTION-GETADDRINFO, return-code, errno, reason-code, hostname, hostname-length, service-name, service-name-length, pointer-to-input-addrinfo-structure, pointer-to-output-addrinfo-structure, canonical-name-length
|
Copyright © 2014 CA.
All rights reserved.
|
|