Mike,
Thanks. This might be a bit easier than I thought.

>you do it by using a different filehandle for each socket, just like for
>files.   since you're pulling URLs out of an array, and don't know ahead of
>time how many items the array will hold, you'll probably want to use
>indirect filehandles.
-snip-
>will open ten separate and distinct filehandles named FILE_00, FILE_01, ...
>FILE_09.   sockets are bound to filehandles for i/o, so the same trick can
>be used to open multiple sockets.
>

This is what I'll have to do, you make it sound sooo easy.

>except with socket code.   you can also include a counter within the loop
>so it gives up after a certain number of tries, which will keep you from
>spawning subprocesses that loop forever.. but then you have to start
>worrying about fail-case handling, and things get just slightly complex.
>

Complex? I'll stick to the easy way for now.

Thanks for the pointers.

Ron

____________________________________________________________________
--------------------------------------------------------------------
 Join The Web Consultants Association :  Register on our web site Now
Web Consultants Web Site : http://just4u.com/webconsultants
If you lose the instructions All subscription/unsubscribing can be done
directly from our website for all our lists.
---------------------------------------------------------------------

Reply via email to