i’m currently learning about sockets with using java. I’m learning about TCP sockets and UDP sockets including multicast sockets. And i’m just wondering, what other kind of sockets or networking mechanisms out there that i can use to make voip and real time online games and such? And which one is mostly used among industries?
i’m currently learning about sockets with using java. I’m learning about TCP sockets and
Share
Short answer, if you can tolerance with any packet loss UDP is better, otherwise TCP. Base on this principle, voip generally use UDP (for data packets not control packets).