Re: CInternetSession problem
From: Vishal Kudchadkar (vishalkudchadkar_at_idelji.com)
Date: 04/30/04
- Next message: Rey Flores: "Re: running out of memory on Seimens SX56 pocketpc phone"
- Previous message: Olaf: "Dailer like the SmartPhone"
- Messages sorted by: [ date ] [ thread ]
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
- Next message: Rey Flores: "Re: running out of memory on Seimens SX56 pocketpc phone"
- Previous message: Olaf: "Dailer like the SmartPhone"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|