Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
net: conn generated by ListenMulticastUDP returns other multicast group messages on the same port #8164
go version go1.2.1 linux/amd64 http://play.golang.org/p/Cp4rO78CWs 1. start program. 2. send udp packet to address 184.108.40.206:5004 via nc, for example: nc -u 220.127.116.11 5004 123 got this message on screen: 18.104.22.168 got 123 22.214.171.124 got 123 should be only: 126.96.36.199 got 123
Simply ListenMulticastUDP exists for convenience, for simple single-homed applications. You need to use go.net/ipv4 or go.net/ipv6 for more control. https://godoc.org/code.google.com/p/go.net/ipv4 https://godoc.org/code.google.com/p/go.net/ipv6
Status changed to Duplicate.
Merged into issue #3820.