;extension=php_sockets.dll in linux server

view full story

http://stackoverflow.com – I recently bought a linux hosting space from Godaddy. I have a following piece of code that doesn't connect to the concerned IP. <?php $fp2 = stream_socket_client("tcp://", $errno, $errstr, 30); //dummy ip $depostring = "Test"; $str3 = ""; fwrite($fp2,$depostring); $str3 = $str3 . fgets($fp2, 1024); echo $str3; ?> I used to just uncomment the line ;extension=php_sockets.dll on my windows server. Which equivalent action should i take with the linux server? Here is the phpi.in in linux server register_globals = off allow_url_fopen (HowTos)