Query/Response Format and Response Types
QUERY/RESPONSE FORMAT
The server accepts simple text query requests of the form
<local-port>, <foreign-port>
where <local-port>, is the TCP port (decimal) on the target (server) system, and <foreign-port> is the TCP port (decimal) on the source (user) system.
For example:
23, 6191
The response is of the form
<local-port>, <foreign-port> : <response-type> : <additional-info>
where <local-port>, <foreign-port> are the same pair as the query, <response-type> is a keyword identifying the type of response, and <additional info> is context dependent.
For example:
23, 6191 : USERID : StJohns
RESPONSE TYPES
A response can be one of two types:
USERID
In this case, <additional-info> is the printable representation of the user identifier of the owner of the connection. The format of the returned user identifier is completely system dependent.
ERROR
For some reason the owner of the TCP port could not be determined, <additional-info> tells why. The following are suggested values of <additional-info> and their meanings.
INVALID PORT
Either the local or foreign port was improperly specified.
NO USER
The connection specified by the port pair is not currently in use.
UNKNOWN ERROR
Can't determine connection owner; reason unknown. Other values may be specified as necessary.