Re: [twsocket] HttpCli + Timeout How To??

2006-01-20 Thread Wilfried Mestdagh
Hello Mac, How i implement a timeout control in HttpCli... Use async call's and a timer. when timer expires call abort, when request is done disable timer. I using HttpCli in sync mode, because i need to run it in Thread.. You can use async mode in a thread as well. There is no

[twsocket] HttpCli + Timeout How To??

2006-01-19 Thread Macfly
Hi.. Friends.. How i implement a timeout control in HttpCli... I using HttpCli in sync mode, because i need to run it in Thread.. It's work fine, but in some(rare) cases httpcli freeze and no get any response... How i cancel httpcli get/post command? after started? Thanks

[twsocket] HttpCli + Timeout How To??

2006-01-18 Thread Macfly
Hi.. Friends.. How i implement a timeout control in HttpCli... I using HttpCli in sync mode, because i need to run it in Thread.. It's work fine, but in some(rare) cases httpcli freeze and no get any response... How i cancel httpcli get/post command? after started? Thanks