- 18 Aug, 2011 1 commit
-
-
Mikio Hara authored
This CL changes both JoinGroup and LeaveGroup methods to take an interface as an argument for enabling IPv6 group address join/leave, join a group address on a specific interface. R=rsc, dave CC=golang-dev https://golang.org/cl/4815074
-
- 11 Apr, 2011 1 commit
-
-
Dave Cheney authored
Fixes #1649. R=rsc, adg CC=golang-dev https://golang.org/cl/4343056
-
- 18 Feb, 2011 1 commit
-
-
Dave Cheney authored
R=rsc, mikioh, rsc1, dho CC=golang-dev https://golang.org/cl/4174056
-
- 17 Feb, 2011 1 commit
-
-
Alex Brainman authored
R=golang-dev, r2 CC=golang-dev https://golang.org/cl/4184051
-
- 16 Feb, 2011 1 commit
-
-
Dave Cheney authored
notes: Darwin is very particular about joining a multicast group if the listneing socket is not created in "udp4" mode, the other supported OS's are more flexible. A simple example sets up a socket to listen on the mdns/bonjour group 224.0.0.251:5353 // ensure the sock is udp4, and the IP is a 4 byte IPv4 socket, err := net.ListenUDP("udp4", &net.UDPAddr { IP: net.IPv4zero, // currently darwin will not allow you to bind to // a port if it is already bound to another process Port: 5353, }) if err != nil { log.Exitf("listen %s", err) } defer socket.Close() err = socket.JoinGroup(net.IPv4(224, 0, 0, 251)) if err != nil { log.Exitf("join group %s", err) } R=adg, rsc CC=golang-dev https://golang.org/cl/4066044
-