Unconnected or connected Datagram for MMORPG ?,
Members - Reputation: 134
Posted 16 June 2012 - 03:41 AM
Im kinda new to network programming ... i've read a lot of tutorials and now i have doubts about : what is the fastest way on UDP port ...and best for MMORPG or games with kinda many players... connected datagrams or unconected ? what's best send()/sendto() in speed term and usability ?
Moderators - Reputation: 10203
Posted 16 June 2012 - 09:49 AM
On a server, or any other system that talks to more than one other system, "connected" UDP sockets just get in the way. I never end up using them.
There is no measurable performance difference.