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
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
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
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
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