3 ms·
RUDP isn't really the same thing as RakNet. Both are actually distinct and different protocols. Most game networking libraries will let the developer choose, w
by zamalek 12y ago
RUDP isn't really the same thing as RakNet. Both are actually distinct and different protocols.
Most game networking libraries will let the developer choose, when sending a datagram, whether it's reliable, ordered, both or neither. The reason is that you rarely actually need both, but in the rare cases you do (e.g. if the user issues a "fire" command) you can upgrade datagrams to that state.
RUDP is simply a message-based connection that is both reliable and ordered. You might be able to get away with using it for games, but, why would you - RakNet is open source and is mostly the industry standard.
Also don't forget the one final advantage of UDP is that STUN/TURN work great. NAT punching with TCP is walking on thin ice.