Difference between revisions of "Socklist"

From Scriptwiki
Jump to: navigation, search
m
 
 
(2 intermediate revisions by one other user not shown)
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
Line 13: Line 13:
 
'''Note: -u will not list sockets that data has been sent over recently, because UDP sockets do not maintain connections!'''
 
'''Note: -u will not list sockets that data has been sent over recently, because UDP sockets do not maintain connections!'''
  
[[Category:Sockets]]
+
[[Category:Socket]]
 
[[Category:UDP Sockets]]
 
[[Category:UDP Sockets]]
 +
[[Category:Commands]]

Latest revision as of 19:24, 30 January 2011

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!