hi guys
i want to develope a new multiplayer racing game in lan. which type of protocol
is best.
thanks
What type of protocol? Network! ba-dum dum
There seem to be a few discussions on the board regarding the merits of TCP vs UDP (which are protocols, not types of protocols). I recommend that you search the forum and look at the networking forum, build up your understanding a bit, and then post a more pointed question. (E.g. if you know what kind of latency you need, how many players, is it LAN-only or should it scale up to Internet)
On a LAN you might as well do everything TCP/IP.
OR so it all UDP multicast.
The forner is easy and you dont have to wrry about internet TCPIP jam issues.
But the latter means you only have to send any packet ocne as opposed to N times where N is the number of players.
I would suggest TCP as it’s packets arrive in order. Since it’s on lan you don’t have to worry about one packet having trouble to pass and delaying all other packets. Either way you shuold learn both protocols, try implemening both