PHP Socket Client

This is a simple client that is running two different requests. One at every 2 seconds and another every 5 minutes. The 2 second one retrieved data from server and the 5 minute one sends data to server. <?php set_time_limit(0); ob_implicit_flush(); $host    = “xxx.xxx.xxx.xxx”; $port    = 1250; $lastUpdate = time(); while(1) {     if(time() -… Continue reading PHP Socket Client