[twsocket] timeout when tcp connection on internet
Fri, 09 Jun 2000 13:59:17 -0500
Can u get onto each of the machines to see if you can BROWSE the Web to see if
maybe you got disconnected from one of the ISPs? I always thought that proxy
type software could also control the life time of a connection. I use Wingate
and there are timeouts for certain sockets stuff. So, maybe see if you have a
proxy/firewall. Also, does the router itself perform timeouts/disconnects?
Wilfried Mestdagh wrote:
> I have a question about timeout when connected over internet. Situation is
> as follwos (TCP connection):
> LAN machine (client) -> cable modem -> ISP1 -> ISP2 -> router -> LAN machine
> When there is no traffic for a few hours both programs sockets are still in
> connected state, but if one of them is trying to send data it is never reach
> and the connection is broken after a few minutes. So
> I know I have to send keep-alive packets, but who does the timeout ? Is it
> the router, or something between the 2 internet providers ? If I run the
> same configuration on a LAN there seems not a timout.
> Does anybody know on what time interval I should send keep alive packets in
> sutch a situation ?
> Note that the machine connected with cable modem dus regulary gets dhcp
> messages (lease expired and renewed) but it does not seem that is the reason
> (trying to send immediatly after sutch a message does work).
> thanks in advance, Wilfried
> TWSocket mailing list [http://elists.org/mailman/listinfo/twsocket]
> Visit our website at http://www.rtfm.be/fpiette/indexuk.htm