From beginner

From: Date: Mon, 12 Mar 2001 17:20:04 +0000
Subject: From beginner
Groups: php.general 
Request: Send a blank email to php-general+get-43503@lists.php.net to get a copy of this message
Hi there, I'm real beginner in php and tried to use sockets. I copied an example from manual (Simple TCP/IP client) and connected to my socket server. If I understadn manual correctly, then function read ($socket, $out, $len) is supposed to read buffer with length $len or break out with chr(0) or chr(10). When I tried, it read the buffer, but always timed out with default 30 sec no matter what I was doing on the other end of socket. while ($ab=read ($socket, $out, $len)) { echo $out; } Where should I look ? Lembit Pirn 7+7 Software tel.:+372 6313172 fax:+372 6459780 lembit@sps.ee

« previous php.general (#43503) next »