Re: xml-rpc timeout

2007-09-24 Thread Steve Holden
Lawrence D'Oliveiro wrote: > In message <[EMAIL PROTECTED]>, Steve > Holden wrote: > >> Timeouts shouldn't be a normal feature of TCP communications. > > On the contrary, they should. How else are you going to detect that the > other side has died? You missed the point, which is that TCP hosts s

Re: xml-rpc timeout

2007-09-22 Thread Lawrence D'Oliveiro
In message <[EMAIL PROTECTED]>, Steve Holden wrote: > Timeouts shouldn't be a normal feature of TCP communications. On the contrary, they should. How else are you going to detect that the other side has died? -- http://mail.python.org/mailman/listinfo/python-list

Re: xml-rpc timeout

2007-09-21 Thread Steve Holden
Jd wrote: > Steve Holden wrote: >> Jd wrote: >>> Hi >>>I have a multi-threaded application. For certain operations to the >>> server, I would like to explicitly set timeout so that I get correct >>> status from the call and not timed out exception. >>>Does anyone know how to go about doing

Re: xml-rpc timeout

2007-09-21 Thread Jd
Steve Holden wrote: > Jd wrote: >> Hi >>I have a multi-threaded application. For certain operations to the >> server, I would like to explicitly set timeout so that I get correct >> status from the call and not timed out exception. >>Does anyone know how to go about doing it ? >> > The easi

Re: xml-rpc timeout

2007-09-21 Thread Steve Holden
Jd wrote: > Hi >I have a multi-threaded application. For certain operations to the > server, I would like to explicitly set timeout so that I get correct > status from the call and not timed out exception. >Does anyone know how to go about doing it ? > The easiest way is to use socket.setd