you can do more than one fsockopen, which means you will have
multiple sockets open, however, these are part of the same thread
in the same process.. in other words, you can't do two things at
once by default.. with php-gtk, you can maybe have multiple user
events.. and not sure if you can emulate it..

--
=======================================================================
Michael J. Ryan  -  tracker1[*at*]theroughnecks.com
Roughneck BBS: http://www.theroughnecks.net  telnet://theroughnecks.net
=======================================================================
Y!: aztracker1 - aim: azTracker1 - icq: 4935386 - msn: see email
One program for aim/icq/yahoo/msn/irc  -  http://www.trillian.cc/


"Jose Arce" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> So...i can do more than one fsockopen()...but is not multi-thread? i don't
> understand...i mean...if i can open more than one fsockopen...it is
> multithread, or in wich cases php open more than one fsockopen?
> thx :D
>
>
> >From: Martin Towell <[EMAIL PROTECTED]>
> >To: 'Jose Arce' <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
> >Subject: RE: [PHP] fsockopen question
> >Date: Thu, 4 Jul 2002 16:39:36 +1000
> >
> >you can do more than one fsockopen(), but since php isn't multi-threaded -
> >you'll still only be able to download one file at a time.
> >
> >-----Original Message-----
> >From: Jose Arce [mailto:[EMAIL PROTECTED]]
> >Sent: Thursday, July 04, 2002 4:39 PM
> >To: [EMAIL PROTECTED]
> >Subject: [PHP] fsockopen question
> >
> >
> >Hi, i'm making a script to transfer all the zips from my old server to my
> >new one, i mean, server to server. That's the easy part. The cuestion is:
> >
> >Can i open more than just one instance for fsockopen to retrieve more files
> >in the same script, at the same time? i mean, not one by one (that will be
> >slow), but 4 or 5 at the same time...
> >some people think it's possible, some people don't...thx :D
> >
> >_________________________________________________________________
> >MSN. Más Útil cada Día. http://www.msn.es/intmap/
> >
> >
> >--
> >PHP General Mailing List (http://www.php.net/)
> >To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
>
> _________________________________________________________________
> MSN Fotos: la forma más fácil de compartir e imprimir fotos.
> http://photos.msn.es/support/worldwide.aspx
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to