Hi,
it would be great to be able to connect to a socket file, e.g. /var/lib/php7.0-fpm/www.sock.
Do you think it is possible to implement this?
I'm no Perl Pro, but I did some ugly hacking, which is only a Proof of Concept, but it would work in general.
# my $sock = IO::Socket::INET->new(
# PeerAddr => $override_ip,
# PeerPort => $o_port,
# );
use IO::Socket::UNIX;
my $sock = IO::Socket::UNIX->new(
Type => SOCK_STREAM,
Peer => '/var/lib/php7.0-fpm/web3.sock',
);