UDP has no notion of "client" and "server", only "peers". That aside, peers can't use the same socket, you have to give them different port numbers if they are to use the same IP.