Previous Topic: &ZSOCHNM

Next Topic: &ZSOCPRT

&ZSOCID

Returns the socket ID of the last referenced socket.

Socket IDs are uniquely numbered in the range 1 to 999999. Use the SHOW SOCKETS command to display active sockets.

&ZSOCID returns a null value after &SOCKET CLOSE, &SOCKET DEALLOCATE, &SOCKET GETHOSTBYNAME, and &SOCKET GETHOSTBYADDR.