Go ahead and post your code and ask any questions about.

One thing you'll need to define is the "protocol" for communications between the client and server.
What messages will be sent and how...