Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualTaurian

Posted 19 January 2013 - 01:14 PM

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!


#3Taurian

Posted 19 January 2013 - 01:11 PM

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 learn more about 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.


#2Taurian

Posted 19 January 2013 - 01:10 PM

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 learn more about 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.


#1Taurian

Posted 19 January 2013 - 01:08 PM

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 learn more about this protocol.

 

What i'm trying do to:

 

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.


PARTNERS