Socklist: Difference between revisions

From Scriptwiki
Jump to navigation Jump to search
Aca20031 (talk | contribs)
mNo edit summary
No edit summary
 
Line 15: Line 15:
[[Category:Socket]]
[[Category:Socket]]
[[Category:UDP Sockets]]
[[Category:UDP Sockets]]
[[Category:Commands]]

Latest revision as of 18: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!