SOCKLIST
[/?]
[/NAL[+|-]]
[/NAR[+|-]]
[/NPL[+|-]]
[/NPR[+|-]]
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.
/NAL/NAR/NPL/NPR