Jump to content

"Multithreaded" php scripts


jbog91

Recommended Posts

I need some help with this. I am creating a poker dealer that will host many tables. I was wondering how I could have multiple instances of a script to manage each table running, kinda like a multithreaded program. Is this possible? The poker dealer is basicaly like a server, the clients will all connect to it to play. It will be a socket server.

Link to comment
https://forums.phpfreaks.com/topic/50597-multithreaded-php-scripts/
Share on other sites

Is this possible?

 

Yes.

 

It will be a socket server.

 

A mulithreaded server can get a little complex to create. Have you any code currently? You might want to take a look at the nanoserv framework and also, the nanweb php server. Both are good examples of how this can be done.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.