Re: fsockopen question
| From: | Tracker 1 | Date: | Thu, 04 Jul 2002 06:58:04 +0000 |
| Subject: | Re: fsockopen question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-105385@lists.php.net to get a copy of this message | ||
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" <metallian_ccp@hotmail.com> wrote in message
news:F306yz8pKEoE6KqINGu0000564b@hotmail.com...
> 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 <martin.towell@world.net>
> >To: 'Jose Arce' <metallian_ccp@hotmail.com>, php-general@lists.php.net
> >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:metallian_ccp@hotmail.com]
> >Sent: Thursday, July 04, 2002 4:39 PM
> >To: php-general@lists.php.net
> >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
>