After a few hours of mild hair pulling with trying to get the pkg/net 
ReadFromUDP 
to work 
<https://groups.google.com/d/msg/golang-nuts/7XTgrXTtCPs/99pjPAxpAQAJ>between 
Windows and Linux, I eventually just went with golang.org/x/net/ipv4 to 
write this little library that can be used for local peer discovery: 
https://github.com/schollz/peerdiscovery

I found it useful for one of my programs to perform file transfers without 
prompting for the local address. I thought I'd post it here in case anyone 
else might find it useful too.


-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to