A PHP Socket Server with Flash Clients -


How do I implement a PHP socket server, I am using PHP5.

Has anyone been prepared, instead of going to the NTT Gretty of the implementation details, the framework already available for me? Actually I want to serve the flash client using this socket server and it will be running in an Apache environment.

This is the first time that I am running in PHP area, so give me a Noble value.

Take a look at Alexey Zaparov's PHP socket server

Its very simple to hide its own code but should be warned that you should be careful about managing your memory. If you are writing a very complicated OO app, you should definitely install the Cyrillular Referencing Trash Collector. And, since it uses socket_select (), you do not want TI to hang for a long time in order to do something about your code.

Alternatively (if you are running on other than the Microsoft platform) [X] the inetd stop php process can be easy to hang and just use stdio for communication.

HTH

c.


Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -