4 $FILE_SOCKET = "/tmp/test001.sock";
5 $UNIX_SOCKET = "unix://$FILE_SOCKET";
6 if (file_exists($FILE_SOCKET)) {
10 $old_umask = umask(0);
11 if (($list = stream_socket_server($UNIX_SOCKET, $err, $errs)) === FALSE) {
16 $new_socket = stream_socket_accept($list);
18 $fp = ancillary_getstream($new_socket);
19 printf("FP: %d\n", $fp);
27 fwrite($fp, "DI QUI CI PASSO2");