Use WriteToUDP rather than WriteMsgUDP (fixes #4)