Previous Topic: NotesNext Topic: Parameters


GETHOSTBYNAME

GETHOSTBYNAME takes a host name and tries to resolve it through a name server. If successful, it returns the information in a HOSTENT structure.

Assembler

label    #SOCKET GETHOSTBYNAME,
               RETCODE=return-code,
               ERRNO=errno,
               RSNCODE=reason-code,
               HOSTNAME=hostname,
               HOSTNAML=hostname-length,
               HOSTENTP=hostentp,
               PLIST=parameter-list-area,
               RGSV=(rgsv)

List of USING Parameters

SOCKET-FUNCTION-GETHOSTBYNAME,
return-code,
errno,
reason-code,
hostname,
hostname-length,
hostentp