![](sad.gif)
help making network for game c++
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
![](sad.gif)
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!
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
Popular Topics
Advertisement
Recommended Tutorials
Advertisement