I need to develop a simple network game for linux in C.
The game is really basic, for example, two dices are launched, and each player has to guess the sum of the dices values. No problem here...
But the game has to be played by a minimal of 2 and a maximum for 10 players. I need a tutorial or manual on how to make the network part of the game work.
The game is to be in unicast, and the players my be able to send messages to the other players.
I have some UDP and TCP code examples but don't know how to use them
Can anyone help?