Socklist

From Scriptwiki
Jump to: navigation, search

Socklist is used to list open sockets. It shows their name, remote ip, remote/local port, and current status.

socklist [-tul] [name]
  • Switches
    • -t lists TCP sockets with remote computers
    • -u lists UDP sockets that are currently listening.
    • -l lists listening TCP sockets
  • Parameters
    • none - lists all sockets.
    • name is the name of the socket(s) to list. It can be a wild card.

Note: -u will not list sockets that data has been sent over recently, because UDP sockets do not maintain connections!