I have installed wampserver and I tried to run a code to create socketswith PHP. The code is:
// create socket
$socket = socket_create(AF_INET, SOCK_STREAM, 0) or die("Could not create socket\n"
;
And answer:
Fatal error: Call to undefined function socket_create()
How this should work?