jbog91 Posted May 9, 2007 Share Posted May 9, 2007 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 More sharing options...
trq Posted May 9, 2007 Share Posted May 9, 2007 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. Link to comment https://forums.phpfreaks.com/topic/50597-multithreaded-php-scripts/#findComment-248714 Share on other sites More sharing options...
jbog91 Posted May 9, 2007 Author Share Posted May 9, 2007 Thank you. I will check that stuff out. Any other suggestions are welcome too. No, I currently do not have any code. I'm trying to get the basics down and plan. Link to comment https://forums.phpfreaks.com/topic/50597-multithreaded-php-scripts/#findComment-248716 Share on other sites More sharing options...
trq Posted May 9, 2007 Share Posted May 9, 2007 Well, I hope you have plenty of time on your hands is all. Ive attempted a few servers in php in the past including one that used the nanoserv framework, and yeah, lets just say I had allot of fun doing it. Good luck. Link to comment https://forums.phpfreaks.com/topic/50597-multithreaded-php-scripts/#findComment-248720 Share on other sites More sharing options...
jbog91 Posted May 9, 2007 Author Share Posted May 9, 2007 Well, I've done some irc bots but if this gets too tough, I may try doing this in java. I just need it to run on a webserver. I'd have to learn it first though. Link to comment https://forums.phpfreaks.com/topic/50597-multithreaded-php-scripts/#findComment-248722 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.