At 2/24/14 04:15 PM, MSGhero wrote:
When I bother NG servers to give me save file info or whatever, is that tcp or udp or neither?
That would be TCP.
At 2/24/14 04:15 PM, MSGhero wrote:
What's the preferred way of doing multiplayer in general?
I wouldn't say there's any preferred way of implementing mutliplayer in general; all depends on what it is you're doing. If you're making a real-time multiplayer game, such as pretty much any MMO, or shooters like Team Fortress 2, then you'll want to use UDP. If it's something that is turn-based, like a game of chess, or a chat system, you would want to use TCP (especially so if you're making a chat application).
Basically if you need to guarantee that your data will arrive, like you would with chess or chatting, you want TCP. If you don't need a guarantee of the data's arrival, and just want to send/receive the most up-to-date information, such as in MMOs, or VoIP programs, you want UDP.