Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
net: Setting LocalAddr to v4 address in net.Dialer not effective if v6 available #14672
and did a tcpdump in parallel looking for packages containing my local ipv4 that should be used for connecting:
I quickly tried wrapping the Dial function as described at https://groups.google.com/d/msg/golang-nuts/_VgvTySj25o/-TtM2jYR-0EJ into a Function that sets "tcp4" forcibly but it still has no effect on the outcome.