I've been doing a lot of reading and research on UDP as opposed to TCP.
My problem is how to UDP Multicast. So I just have a few straight forward questions I'm hoping anyone can help me with.
- Q1: UDP Multicasting only works on Local Networks, there is no way to "Broadcast" clients over the web. Correct?
- Q2: If I can't Multicast, then my only solution is to have a small database of users, and loop through their IP Addresses and send a packet one at a time to each client over the web?
- Q3: If I have to do this loop solution, then I have to keep an eye out for CPU usage and network usage?
- Q4: People say a dedicated server is not needed for UDP in any case. Is this correct?
Let me know if I'm missing something important in my quest to experiment more with this protocol.
What i'm trying do to [DotNet/C#]:
Have 1k users divided by 5 or so different broadcast rooms, (Like a chat room). And users in their specific rooms receive their messages without using a broadcast loop.
Since Multicasting only works on Local Networks... there's my new obstacle.
Thanks in advance for the help!