Re: CInternetSession problem

From: Vishal Kudchadkar (vishalkudchadkar_at_idelji.com)
Date: 04/30/04


Date: Fri, 30 Apr 2004 12:57:51 -0700

Vishal Radhakrishnan [MSFT] wrote:

> I think what you are seeing here is just the workings of TCP. The CHttp
> object uses TCP to transmit and there is a mandatory exponential timeout in
> TCP before it gives up - so if you pull the plug, it will take your
> application a while before TCP quits out.
> This is just how TCP is implemented..
> so what most applications do is to have its own timeouts and quit out of the
> call if its taking too much time. When doing that you need to be careful to
> not destroy the CHttp object before it returns out as otherwise you might
> have memory corruption.

Hi,

Could you point me to examples/sample code to understand how implement
applications can have user defined timeouts?

Thanks
Vishal



Relevant Pages

  • Re: AIX 5.3 tcp ucp timeout and retransmission statistics
    ... there are no "udp timeouts". ... AIX 5.3 tcp ucp timeout and retransmission statistics ...
    (AIX-L)
  • Re: NFS timeouts (Solaris 9 and Solaris 10)
    ... I still run into timeouts. ... It's supposed to work with both tcp and udp. ...
    (comp.unix.solaris)
  • Re: ppp vpn through ssh
    ... In article, Filip Lyncker wrote: ... that it is not that easy to route throgh routers ... If you're doing TCP over that ppp then you've got TCP over TCP which ... I am assured sucks horribly because they will apply timeouts in ways ...
    (comp.security.ssh)
  • Re: The beauty of TCP/IP
    ... > so why would you 'almost certainly be using TCP'? ... Applications with round-trips (i.e., they wait on a response from the ... > hops in UDP is critical assumes that all hops have the same latency, ... So yeah, of course latency ...
    (comp.lang.java.programmer)
  • Re: Old TCP connections after IP address change
    ... > applications can enable TCP keepalive probes and TCP on the server ... linux box to establish the PPPoE connection. ... > is a change might work, depending on how the applications react ...
    (comp.os.linux.networking)