i wanna to ask about the different http,TCP,UDP protocoll in network programing, what is the protocoll would you recommended when i want to create game,can you explain me? because i new to starting develop network programing with soket communication.thanks for helping
i wanna to ask about the different http,TCP,UDP protocoll in network programing, what is
Share
I think that depends on what kind of game you are making. For a game which require quick, continous updates UDP might be better, but I have always gone with TCP. If you are making some kind of turn based game where you don’t send data often I’d use TCP.
This might also be helpful: UDP vs TCP, how much faster is it?