Previous Topic: &ZSOCERRN

Next Topic: &ZSOCHADR

&ZSOCFHNM

Returns the full host name of the host referenced by some requests (for example, &SOCKET GETHOSTBYNAME).

&ZSOCFHNM is set by the host lookup functions GETHOSTBYNAME and GETHOSTBYADDR.

It is also updated by &SOCKET calls with the name associated with the last referenced sockets.

Example: &ZSOCFHNM

&SOCKET GETHOSTBYADDR ADDRESS=198.4.58.4 
&WRITE DATA=HOST &ZSOCFHNM