SyntaxFix
Write A Post
Hire A Developer
Questions
socket_create needs to be run as root on a UNIX system with;
$socket = socket_create(AF_UNIX, SOCK_STREAM, 0);