I am trying to bind socket with same port, I am getting error.
socket_bind(): unable to bind address [0]: Only one usage of each socket address (protocol/network address/port) is normally permitted. in C:\xampp\htdocs\my\server.php on line 79 Could not bind to socket
Here is 79-th line:
$result = socket_bind($socket, $host, $port) or die("Could not bind to socket
");
How to fix this?