Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Watch a port

by Galen (Beadle)
on Feb 18, 2005 at 22:09 UTC ( [id://432541]=perlquestion: print w/replies, xml ) Need Help??

Galen has asked for the wisdom of the Perl Monks concerning the following question:

OK this isn't exactly a perl question, but it's a tool that comes in quite handy troubleshooting perl network programming. I used to use this tool and can't recall the name of it to download again. What it does is sit and listen on a port you designate - while it's running you can see anything that connects to that port and view the commands issued. You can reply to the commands manually like as if you were the operating system. The tool is very nice when you aren't sure what is occurring on the other side of a connection to cause a script to return invalid output. Anybody know the tool I'm talking about?

Replies are listed 'Best First'.
Re: Watch a port
by eclark (Scribe) on Feb 18, 2005 at 22:12 UTC

    netcat ?

      Netstat was the app nc -l -p <port> -t Thanks!
        Netcat, not Netstat
Re: Watch a port
by zentara (Archbishop) on Feb 18, 2005 at 22:17 UTC
    You may be thinking of ethereal or tcpdump, but the tool I like for ease of use is "tcpick"->tcpick

    I'm not really a human, but I play one on earth. flash japh

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://432541]
Approved by friedo
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2024-04-19 16:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found