Lines Matching refs:client
18 $client = fsockopen("tcp://127.0.0.1:$port");
20 if (!$client) {
31 echo "\n\nRead a line from the client:\n";
32 var_dump(fgets($client));
34 echo "\n\nRead another line from the client:\n";
35 var_dump(fgets($client));
37 echo "\n\nClose the server side socket and read the remaining data from the client\n";
40 while(!feof($client)) {
41 fread($client, 1);
51 Read a line from the client:
56 Read another line from the client:
61 Close the server side socket and read the remaining data from the client