I am trying to write the socket client(which i want to run by browser).I am able to successfully connect to Socket server but i dont know how to send that data to server & read from server.Here is my code which do the connectivity part of it.can someone tell me the solution of this?
$host = "localhost";
$port = 10000;
$timeout = 45;
$fp = fsockopen($host, $port, $errno,
echo $errstr . "Errno:" .
$errno . "<br>";
echo "socket successfully opened";
THNX in advance