All book examples of the PHP Socket Programming Handbook. Learn more at http://www.christophh.net/php-socket-programming-handbook/