Suppose I use curl_multi interface to handle my transfer, I can get socket descriptors from multi using curl_multi_fdset. But If I configure curl to multi threaded name resolver, it doesn't returns any fdset until connection begins.
I can understand the technical difficulties behind this scene & but why don't we create a UDP socket(socketpair or pipe may good) temporarily until connection begins? This socket can be signaled from the resolver thread once it finishes its job. User can get this socket via curl_multi_fdset & wait until resolver finished. I hope it will avoid the burden of handling two different cases while doing transfers with curl(1. Until name resolving & after connection). But using ares should avoid this right? -- *Arunprasad Rajkumar* http://in.linkedin.com/in/ararunprasad
------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
