[EMAIL PROTECTED] wrote:
> I have a problem with reading from a Java server after I have
> written to it - it just hangs. It works fine if I just write to
> the server and not try to write. 

Excuse me?

> I have read the HOWTO on sockets - and it states that there is a
> problem (something about flushing), but not what the solutions is.
> Nor do google. Can somebody please help?

Spare yourself the trouble and do not use low level socket functions
in Python directly. Try Twisted.

http://twistedmatrix.com/projects/core/documentation/howto/clients.html

As for that Java problem I recommend learning common debugging
techniques: Use a protocol analyser (www.wireshark.org) and let
your program(s) output a debug log.

Regards,


Björn


-- 
BOFH excuse #16:

somebody was calculating pi on the server

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to