specifying address family before establishing connection
Brane F. Gračnar
brane.gracnar at najdi.si
Mon May 9 21:57:51 CEST 2011
Hello ;)
I'd like to specify address family before issuing TCP connects. I have a list
of hostnames, both accessible via ipv6 and ipv4.
I'd like to connect to some of them using only ipv6 and to some of them using
only ipv4.
Is it possible to achieve this just by setting $ENV{PERL_ANYEVENT_PROTOCOLS}
before calling tcp_connect()?
What about AnyEvent::HTTP?
Cheers, Brane
More information about the anyevent
mailing list