Lines Matching refs:client
10 $client = fsockopen('tcp://127.0.0.1:31331');
11 if (!$client) {
20 var_dump(stream_get_meta_data($client));
22 echo "\n\nRead a line from the client, causing data to be buffered:\n";
23 fgets($client);
24 var_dump(stream_get_meta_data($client));
26 echo "\n\nRead 3 bytes of data from the client:\n";
27 fread($client, 3);
28 var_dump(stream_get_meta_data($client));
30 echo "\n\nClose the server side socket and read the remaining data from the client:\n";
33 while(!feof($client)) {
34 fread($client, 1);
36 var_dump(stream_get_meta_data($client));
59 Read a line from the client, causing data to be buffered:
78 Read 3 bytes of data from the client:
97 Close the server side socket and read the remaining data from the client: