Advertisement

help making network for game c++

Started by January 19, 2004 12:06 PM
0 comments, last by bonkisme 21 years ago
i am making a game in C++ language, but i have a problem. i dont know anything about making a network to make my game multiplayer. help plz
Fear the Mighty Stick.
Decide how many clients you''ll have. Will you be on a client server architecture or will it be p2p?

If you have a low number of clients connecting to a server, you cna research and use TCP.

If you have many clients, it might be worth considering UDP.

Familiarise yourself with the terminaology - understand what a client and a server is; what TCP and UDP are and how they differ. Then learn how to connect between the two, sending messages from one to the other.

Once you get the hang of it, it''s relatively simple for most things. Not sure about games though as I haven''t coded any MP games!

This topic is closed to new replies.

Advertisement