Annoying Socket Problem

John Abel johnfabel at btinternet.com
Sat Feb 19 19:30:13 EST 2005


Never mind, sorted now.

On 18 Feb 2005, at 15:10, John Abel wrote:

> Read/tried that before posting.  Even with a flush, everything hangs  
> until I kill the client.
>
> Irmen de Jong wrote:
>
>> John Abel wrote:
>>
>>> I'm hoping this is something simple, and someone can point me in the  
>>> right direction here.  I have a class based on SocketServer  
>>> (ThreadingTCPServer), and I've used makefile on the socket so I use  
>>> the "for in " routine.  My client sends it a small amount of data.   
>>> However, both programs appear to hang once the data has been sent,  
>>> obviously something to do with flushing.
>>
>>
>> http://www.amk.ca/python/howto/sockets/ 
>> sockets.html#SECTION000400000000000000000
>>
>> --Irmen
>
>
> -- 
> *John Abel
> Senior Unix Administrator*
> PA News Limited
> www.pa.press.net <http://www.pa.press.net>
> E-Mail address: john.abel at pa.press.net <mailto:john.abel at pa.press.net>
> Telephone Number : 01430 455553
> Fax Number : 0870 1240192
> Mobile Number : 07971 611356
> The Bishop's Manor, Market Place, Howden, DN14 7BL
> PA News Limited, 292 Vauxhall Bridge Road, London SW1V 1AE. Registered  
> in England No. 3891053.
> -- 
> http://mail.python.org/mailman/listinfo/python-list
>




More information about the Python-list mailing list