/listsockets

Usage:

/LISTSOCKETS


Options:

-s
short form, list only world names

Lists the sockets to which Fugue is connected. The output will look something like this (unless the -s option is given):

     LINES IDLE TYPE      NAME            HOST                       PORT
        48  13h tiny.muck Cave            tcp.com                    2283
*  foregnd   1m tiny.mush DeepSeas        muds.okstate.edu           6250
      none   7s telnet    whitehouse.gov, whitehouse.gov             smtp
?     none  15s tiny      SlowMUD         slow.machine.com           4201
The columns and their meanings are:
unlabeled first column
"*" marks the current socket.
unlabeled second column
the state of the socket is "!" for dead, "?" for pending, "@" for an established proxy connection, or blank for a normal established connection.
LINES
for a background socket, the number of unseen lines; for a foreground socket, "foregnd".
IDLE
how long since the last text was received on the socket.
TYPE
the type of the world (set with /addworld -T).
NAME
the name of the world associated with the socket.
HOST
the host to which the socket is connected.
PORT
the port to which the socket is connected.

The return value of /listsockets is the number of open sockets.

See: sockets, %background, /connect, /fg, idle()


Back to index
Back to tf home page
Copyright © 1995, 1996, 1997 Ken Keys