php Socket Server and Client demo
Create a shell window(Server Window)
cd THIS_PROJECT
php server.php
Create a new shell window(Client Window)
php client.php
Press the keyborad in Client Window to type some message, press enter to send this message to Server.
After you send, the Server Window should display the message you just type.
^_^