Difference between revisions of "Socklist"

From Scriptwiki
Jump to: navigation, search
m
m
Line 5: Line 5:
 
* Switches
 
* Switches
 
** -t lists TCP sockets with remote computers
 
** -t lists TCP sockets with remote computers
** -u lists [[:Category:UDP Sockets:UDP sockets]] that are currently listening.
+
** -u lists [[:Category:UDP Sockets|UDP sockets]] that are currently listening.
 
** -l lists listening TCP sockets
 
** -l lists listening TCP sockets
 
* Parameters
 
* Parameters

Revision as of 01:16, 2 October 2008

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!