Hello, I was trying to make a socket work using a tutorial, so I am not exactly sure of what I am doing yet. However, all the tutorials seem to say to use socket_create() yet I am unable to get it to work, it just outputs a fatal error:
Fatal error: Call to undefined function: socket_create() in /home/www/nsider.freestarthost.com/test.php on line 8
I was wondering if sockets are enabled or not and if that is my problem.
The bad line is:
$socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP) or die("Could not create socket\n");
|