\n"; flush(); echo "Writing...
\n"; flush(); // fwrite($clientsocket, $command, strlen($command)); fwrite($clientsocket, $command); echo "Reading...
\n"; flush(); $response = fgets($clientsocket, 4096); echo $response, "
"; flush(); } ?>