I have never programmed a client / server before but I would like to create a game where objects can be passed back and forth between two players who reside on separate machines. An example object would be a game piece and the reason it would be passed is because the game piece changed its position on the board.
Both players will be sending objects across the network to one another so that both player's game boards are updated (think Monopoly or chess).
How do I begin to code this? So far I've been able to create a server socket and listen for a connection and I can successfully connect to that socket with a client socket. What do I need to do now?