World's simplest tutorial on socket_select???

From: Date: Thu, 20 May 2004 21:26:32 +0000
Subject: World's simplest tutorial on socket_select???
Groups: php.general 
Request: Send a blank email to php-general+get-186630@lists.php.net to get a copy of this message
I've seen a sweet script for a multi-client, multi-socket server in PHP (http://dave.dapond.com/socketselect.php.txt), but its purpose is quite different from mine, and it's about one billion times more complex than I need. I am building a SIMPLE socket client that makes ONE connection to ONE server, and waits for data (socket_read)... and when no data comes for a few seconds, does something else, then waits for data again. HOW SHOULD I APPROACH THIS?! PLEASE TOSS ME A BONE! (If you help me, I will buy you a pint of great beer.) ...Rene

« previous php.general (#186630) next »