My code is like this:
if( ($this->master=socket_create(AF_INET,SOCK_STREAM,SOL_TCP)) < 0 ) { die(\"socket_create() failed, reason: \".socket_s
If you are using xampp 7.3.9. socket already installed. You can check xampp\php\ext and you will get the php_socket.dll. if you get it go to your xampp control panel open php.ini file and remove (;) from extension=sockets.