Hey guys,
I'm writing an app in winform for tic-tac-toe. I decided to run it on two separate machines connected by LAN. I went through codeproject's socket programming, it gave me a direction but I'm still a little shaken up.
I'm a noob when it comes to programming, so please bear with me.
The scenario is:
Comp1 running instance of TicTacToe called App1 and Comp2 running an instance of TicTacToe called App2.
Comp2 enters the IP address of Comp1 using a textbox control in App2.
Establish connection with App1 in Comp1.
Every click event occuring on App1 must be sent to App2 and vice versa.
I basically need help with regards to establishing connection and sending and recieving data. I'm not sure whether or not to use the client server model or peer-peer model because I know the client server model can be programmed in c# but if the peer-peer model can be programmed or not.
Any kind of help or push in a direction will be much appreciated.
Thanks in advance,
Vivek