spawn multiple requests

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
mcog_esteban
Forum Contributor
Posts: 127
Joined: Tue Dec 30, 2003 3:28 pm

spawn multiple requests

Post by mcog_esteban »

Hi all.
Like the tile says, how can i spawn multiple requests to a webservice?
There's not much info about multithreading using php, don't even know if this is the best aproach.
Thank you.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Multithreading is not supported. Simple enough.

You can fork a new process or you can set your socket to not care about synchronous calls (result data) .. there are a few other options but it depends on how and what you're doing.
Post Reply