Page 1 of 1
Posted: Fri Jul 30, 2010 4:34 am
by merc
Does anyone know what protocol do online game uses? like TCP/UDP and ports?
Posted: Fri Jul 30, 2010 5:00 am
by fuzzylunkin1
What do you mean?
Qstat was recently integrated into AllSrv . . . .
Posted: Fri Jul 30, 2010 11:04 am
by madpeople
merc wrote:QUOTE (merc @ Jul 30 2010, 05:34 AM) Does anyone know what protocol do online game uses? like TCP/UDP and ports?
That's like asking what kind of metal are cars made from?
You need to be specific - what kind of metal is [specific part of car] made from.
Also you can build protocols ontop of protocols.
In an attempt to answer your question I'll say UDP, because the client want the latest message as soon as possible, and doesn't care about lost messages - TCP would spend a long time resending old messages to make sure all messages reach you, and that all messages are in order. But then there will be a protocol built ontop of UDP defining what is in those packets and where the pieces of data are, and how to respond to the packet.
The above answer is more theoretically correct than practically correct.
As for ports the game developer has free choice of ports to use (though you choose to avoid ones used by other common programs).
Posted: Fri Jul 30, 2010 11:57 am
by pkk