and it is TCP (stream based). For good MMO networking performance you also need direct peer-to-peer networking and you need datagram (consistent low latency is more important
Different from other long articles, this article tries to use concise and concise text to help you summarize the main differences between TCP and UDP protocols, so that students who want to master this knowledge but are not willing to spend too much time to systematically learn the basics of ...
TCP is a reliable stream-oriented protocol as opposed to UDP which is not reliable and based upon datagram. This is actually the most significantdifference between TCP and UDPas you cannot use the UDP for sending important messages which you can't afford to lose. Though there are some reliabl...
refered fromhttp://www.cyberciti.biz/faq/key-differences-between-tcp-and-udp-protocols/ Further readings TCP and UDP articles at Wikipedia
Open a socket of the given type. The family argument specifies the address family; it defaults to AF_INET. The type argument specifies whether this is a stream (SOCK_STREAM, this is the default) or datagram (SOCK_DGRAM) socket. The protocol ...