Open ozkankirik opened 3 years ago
Is it possible to connect to unix sockets?
php stream_socket_client was called on line https://github.com/Textalk/websocket-php/blob/master/lib/Client.php#L114. According to php.net, stream_socket_client supports using unix sockets.
$sock = stream_socket_client('unix:///full/path/to/my/socket.sock', $errno, $errstr);
parse_url function should be improved to support unix sockets.
parse_url
Is it possible to connect to unix sockets?
php stream_socket_client was called on line https://github.com/Textalk/websocket-php/blob/master/lib/Client.php#L114. According to php.net, stream_socket_client supports using unix sockets.
parse_url
function should be improved to support unix sockets.