Haveing carefully put togeather and tested my latest project I find that it is now time to look at the final stage. NETWORK play. the whole design is so that it will work over a LAN (peer-to-peer). I would prefer to ensure it works over the WWW as well.

How do I go about doing this (the LAN bit)? How do I send data from one example of the game to the other.

BTW: what's a good working practice to ensure that the data held by both does not differ.