Difference between revisions of "Socklist"

From Scriptwiki
Jump to: navigation, search
m
 
Line 15: Line 15:
 
[[Category:Socket]]
 
[[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!