The EthernetUdp library works on Galileo, but it has a bug. I’d recommend you to use Python since it includes a UPD module. Take a look at this link https://wiki.python.org/moin/UdpCommunication in there is a guide on how to use it. Let me know if this works for you.
Wow! So I am trying to jump from a Mega 2560 and there is no UDP? Not just no UDP on Galileo but its been known for over a year that it is broken?
Well, I should have known since nobody uses Galileo that something was wrong with it. I certainly will not be buying Intel for any future projects. At least I can take this crap board back.