You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by vi...@lightningcast.com on 2003/03/20 18:10:54 UTC

question regarding network (winsock) access with xerces

I am using xerces to get xml from the net. I was wondering if there was any easy way to implementing TIMEOUTS while making url requests ?

Looking at the code, I am not sure if this is a trivial job.

Right now, I am doing some circus with threads to emulate a timeout. I am working on a soft real time project and need to keep getting and parsing tiny xml files that keep getting generated by some backend server. And I cannot let any particular request take more than say 1000 msecs, even if it is running on a seperate thread...

any hints, suggestions ?

-Vinayak

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org