Re: Problem in Socket.....

2007-07-24 Thread Grant Edwards
On 2007-07-24, Clement <[EMAIL PROTECTED]> wrote: > Is it possible to close the socket connection immediately in > Python.. Sure. Just call the socket's close() method. [You really ought to get that sticky '.' key fixed.] > Because i am getting error even though i close it after > all the

Re: Problem in Socket.....

2007-07-24 Thread Diez B. Roggisch
Clement schrieb: > Is it possible to close the socket connection immediately in > Python.. Because i am getting error even though i close it after > all the transfer I read from one article it is possible in C > socket Whether is it possible in Python? > Which error? And usually the p

Problem in Socket.....

2007-07-24 Thread Clement
Is it possible to close the socket connection immediately in Python.. Because i am getting error even though i close it after all the transfer I read from one article it is possible in C socket Whether is it possible in Python? -- http://mail.python.org/mailman/listinfo/python-list

Re: strange i/o delay problem in socket

2006-07-07 Thread Lawrence D'Oliveiro
In article <[EMAIL PROTECTED]>, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: >while in most cases, the time needed for a handler thread to read the >request line from the socket is below 1 millisecond, there are some >cases this time is over severl thousand (or even higher) milliseconds. >I'm j

strange i/o delay problem in socket,

2006-07-06 Thread [EMAIL PROTECTED]
Hi guys, I have got some strange system behaviors regarding i/o delays in socket in python, here's the details: I'm writing a web proxy like program that intercepts and redirects requests from clients to my tomcat server, this proxy is written in python, and i'm starting a new thread to handle (red