I\'m trying to create a simple client/server application and thus I am experimenting with sockets in PHP.
Now I have a simple client in C# which connects to the server we
Check This
git clone https://github.com/lukaszkujawa/php-multithreaded-socket-server.git socketserver cd socketserver php server.php
for more information go to: http://systemsarchitect.net/multi-threaded-socket-server-in-php-with-fork/