reading from sockets

Simon Forman rogue_pedro at yahoo.com
Sun Aug 13 11:51:41 EDT 2006


AndrewTK wrote:
> Simon Forman wrote:
> > So I'm guessing it's something wrong in your java server.
>
> Thanks then. I'll keep testing then... Although I don't seem to have
> netcat on my unit...
>
> I'm using a uni computer so I can't install stuff... but I'm guessing
> what I wrote is something like a basic-basic thingy that does what
> netcat is designed to do.....?

First link from googling netcat:
http://netcat.sourceforge.net/

Online man page for netcat (a.k.a. nc)
http://www.openbsd.org/cgi-bin/man.cgi?query=nc
 (Note, it's the openbsd man page. YMMV)

If you can compile C on your university computer then you should be
able to download, compile, and "install" it to a dir in your homedir.
I've done it, so I know it's possible. :-) (I was working on a remote
machine that I didn't have root on, and I needed to test a tcp server I
was writing.)

Netcat's a truly awesome and surprisingly useful little tool.  Any
effort you spend to learn it will be well repaid.

Peace,
~Simon




More information about the Python-list mailing list