On 17 February 2010 10:56, gary clark wrote:
>
> Much appreciated the response. setTcpKeepAlive(1) is good for calling
> connectionLst, however I have to send a packet out to trigger this event.
> Its too bad, just had to send periodically a small stay-alive packet.
That's just a fact of life wit
sis
> Subject: Re: [Twisted-Python] Pulling the ethernet cable out
> To: "'Twisted general discussion'"
> Date: Tuesday, February 16, 2010, 2:47 PM
> Assuming you are on Linux, you can
> run
>
> #man tcp
>
> and take a look at the tunable
eral discussion
> Subject: Re: [Twisted-Python] Pulling the ethernet cable out
>
> Hey Alvin,
>
> In the document link you provided the packets are being sent periodically
> every 2 hours for setTcpKeepAlive(1). I am assuming that
> the a packet is sent straight away and then w
keep
alive is set.
Is there a way to change the delay?
Thanks,
Garyc
--- On Tue, 2/16/10, Alvin Delagon wrote:
> From: Alvin Delagon
> Subject: Re: [Twisted-Python] Pulling the ethernet cable out
> To: "Twisted general discussion"
> Date: Tuesday, February 16, 2010,
ive" for the state of the
> keep alive.
>
>
> Thanks,
> Garyc
>
> --- On Tue, 2/16/10, gary clark wrote:
>
> > From: gary clark
> > Subject: [Twisted-Python] Pulling the ethernet cable out
> > To: "Twisted general discussion"
> > D
I have to poll at the twisted server "getTcpKeepAlive" for the state of the
keep alive.
Thanks,
Garyc
--- On Tue, 2/16/10, gary clark wrote:
> From: gary clark
> Subject: [Twisted-Python] Pulling the ethernet cable out
> To: "Twisted general discussion"
>
Much appreciated Alvin.
--- On Tue, 2/16/10, Alvin Delagon wrote:
> From: Alvin Delagon
> Subject: Re: [Twisted-Python] Pulling the ethernet cable out
> To: "Twisted general discussion"
> Date: Tuesday, February 16, 2010, 10:31 AM
> Hello Garyc,
> This is no
Hello Garyc,
This is not twisted's fault. Pulling a network plug doesn't tell the server
that the client went away immediately since the connection wasn't closed
properly. Pulling the plug produces TCP half-open scenario when one thinks
that the connection is still up. This can be remedied by
poll
Hello,
I'm tested my client server model. The server being a twisted server.
I am using the class NetstringReceiver. When I close down the client the
appropriate call to close the connection is made "connectionLost". However when
I just pull the client connection cable from the network. I would