Lines Matching refs:client
10 $client = fsockopen('tcp://127.0.0.1:31334');
11 if (!$client) {
20 var_dump(stream_get_meta_data($client));
22 echo "\n\nRead a line from the client:\n";
23 fgets($client);
24 var_dump(stream_get_meta_data($client));
26 echo "\n\nClose the server side socket and read the remaining data from the client:\n";
29 while(!feof($client)) {
30 fread($client, 1);
32 var_dump(stream_get_meta_data($client));
34 fclose($client);
57 Read a line from the client:
76 Close the server side socket and read the remaining data from the client: