What does "managing a game with XML" mean? Do the two sides communicate by sending XML between them somehow? If so, what advantage do you see in using XML vs. sending the raw character over a socket connection? It seems a complication of dubious benefit.
If the two sides know each other's IP addresses, then you can use sockets for communication. If they don't, things get more complicated.