Answers for "php unix socket http"

PHP
0

php unix socket client

$sock = stream_socket_client('unix:///full/path/to/my/socket.sock', $errno, $errstr);
fwrite($sock, 'SOME COMMAND'."rn");
echo fread($sock, 4096)."n";
fclose($sock);
Posted by: Guest on February-17-2021

Code answers related to "php unix socket http"

Browse Popular Code Answers by Language