Re: How to end TCP socket data while using readline()?

2010-03-01 Thread Arjun Chennu
connection for it to actually occur completely! My client waits after the "done sending" line indefinitely. Weird. A On Mon, Mar 1, 2010 at 16:35, Arjun Chennu wrote: > Thanks for the feedback. > > Opening a separate file-obj for writing and for reading is just what I'

Re: How to end TCP socket data while using readline()?

2010-03-01 Thread Arjun Chennu
Thanks for the feedback. Opening a separate file-obj for writing and for reading is just what I've been trying, but I don't seem to get it to work. I'm new to python and I'm not sure if I'm missing the intricacy of some command. Please help: Here is my server snippet: (conn, addr) =