>   I need to be able to open a connection to write without blocking.
>   I want to be able to query several web sites concurently. 
>   Will this do the trick or is more needed?

Mode "nl" is for incoming connections, i.e. servers.  I forget if we've done
any work on non-blocking outgoing connections, but it makes sense to think
about them at this point.

You can of course open many URL's on different connections:

f1 := open(url1, ...)
f2 := open(url1, ...)
f3 := open(url1, ...)

and then use select([f1,f2,f3]) to read their data in any order...
but the initial connection establishment is not concurrent and I understand
why you might want it to be; websites vary wildly in how fast they respond,
and some may be down.

Shamim or others in the group might have some suggestions for you.

One thing I've noticed is that the DNS lookups can take a good chunk of
time, and you ought to be able to do those concurrently by some clever
trick, such that the subsequent calls to open() go quicker.  But a direct
solution to your problem might be nice.

Clint



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
Unicon-group mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unicon-group

Reply via email to