SOCKLIST

Synopsis

SOCKLIST [/?] [/NAL[+|-]] [/NAR[+|-]] [/NPL[+|-]] [/NPR[+|-]]

Description

The SOCKLIST command reports all existing sockets in the system, with their local and remote IP addresses and port names. By default, it will perform reverse lookups, in the DNS, to map IP addresses to domain names; and it will perform lookups in %ETC%\SERVICES to translate port numbers into service names.

Note: The current implementation of SOCKLIST takes advantage of what is, strictly speaking, a security deficiency in IBM OS/2. It simply iterates over all possible socket numbers. Any process has full access to any socket in IBM OS/2. This deficiency does not exist on TAU. The current version of SOCKLIST will not work on TAU.

Command-specific options

/NAL
Print numeric IP addresses for the local ends of sockets, without attempting to map them to domain names.
/NAR
Print numeric IP addresses for the remote ends of sockets, without attempting to map them to domain names.
/NPL
Print numeric port numbers for the local ends of sockets, without attempting to map them to service names.
/NPR
Print numeric port numbers for the remote ends of sockets, without attempting to map them to service names.

The Internet Utilities are © Copyright Jonathan de Boyne Pollard. "Moral" rights are asserted.