I'm having sockets problems. The problem is they don't work. I tried:
<?php
$fp = fsockopen("udp://localhost", 13, $errno, $errstr);
if (!$fp) {
echo "ERROR: $errno - $errstr<br>\n";
} else {
fwrite($fp,"\n");
echo fread($fp, 26);
fclose($fp);
}
?>
and I get nothing. This happens for all socket calls nomatter which host. All examples from php's fsocketopen doc's don't work. Is there something in Apache or php that I have to turn-on so I can use sockets. Intershipper Module also does not work because of the sockets. I have latest versions for both. Running Slackware 7.1 and another install on WinXP neither work.