Re: Utility for "talking" to TCP port
telnet hostname portnum
telnet somehost 80
will do what you describe below.
On Fri, 24 Sep 1999, Kristopher Johnson wrote:
> Is there any standard utility for opening a connection to a
> TCP/IP port and then interactively sending data and seeing
> responses? For example, I'd like to be able to open a connection
> to port 80 on some machine, type "GET / HTTP/1.0" and then see
> the response.
>
> I'm experimenting with some protocols, and this sort of thing
> would be helpful. I think I could probably write something like
> this, but I was wondering if it already exists.
>
> Thanks,
> Kris
>
>
> --
> Unsubscribe? mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
>
>
>
George Bonser
"When someone annoys you, it takes 32 muscles to frown, but it only
takes 4 muscles to extend your arm and smack them in the head."
Reply to: