I have a line in a PHP library as follows:
$this->icpSocket = socket_create(AF_UNIX, SOCK_DGRAM, 0);
When I run the script vide CLI, I am getting the following error:
socket_create(): Unable to create socket [10047]: An address incompatible with the requested protocol was used
Why is this error being thrown? And how to resolve it?
I am using PHP 7.4.14 on Windows 10.
2.1m questions
2.1m answers
60 comments
57.0k users