PHP 4.3.5 doesnt recognize function socket_create(). Whats the problem?
Heres the code:
<?php
if (($sock = socket_create(AF_INET, SOCK_STREAM, 0)) < 0) {
echo "socket_create() failed: reason: " . socket_strerror ($sock) . "\n";
}
?>
Error message:
Fatal error: Call to undefined function: socket_create() in d:\web\skirgesa\bandymas.php on line 9