amphp / socket

Non-blocking socket and TLS functionality for PHP based on Amp.

Home Page:https://amphp.org/socket

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DNS Resolver should check if bindTo is ipv6 or ipv4

knivey opened this issue · comments

I know there is already a withDnsTypeRestriction to force one or the other but it seems to make sense to also check the IP you bound to to not cause confusion.

Thanks for the idea, I've now implemented this for the next major version.