Change the UdpSocket definition.

It should contain the IPEndPoint instead of the ip in string format
and the port as an integer.
Seriously, who came up with this.