Sample application where 2 people are randomly paired up who connect and are able to send messages to eachother.
$ composer install
To start the ExampleChatWithRandomStranger server, run:
$ php server.php
In order to connect to it, use netcat:
$ nc localhost 4000
$ bin/phpunit
MIT, see LICENSE.