title: For UDP broadcast gurus: Problems achieving high-bandwidth audio UDP broadcast over WiFi (802.11N and 802.11G)
body: <p>I'm attempting to send multichannel audio over WiFi from one server to multiple client computers using UDP broadcast on a private network.</p>
  
  <p>I'm using software called Pure Data, with a UDP broadcast tool called netsend~ and netreceive~.  The code is here:
  <a href="http://www.remu.fr/sound-delta/netsend~/" rel="noreferrer">http://www.remu.fr/sound-delta/netsend~/</a></p>
  
  <p>To cut a long story short, I'm able to achieve sending 9 channels to one client computer in a point-to-point network, but when I try to do broadcast to 2 clients (haven't yet tried more), I get no sound.  I can compress the audio and send 4 channels compressed (about 10% size of uncompressed) over UDP broadcast to 2 clients successfully.  Or I can send 1 channel over UDP broadcast to 2 clients, with some glitches.</p>
  
  <p>The WiFi router is a Linksys WRT300N.  All computers are running Windows XP.  The IP addresses are 192.168.1.x, with subnet mask 255.255.255.0 and the subnet broadcast address: 192.168.1.255.</p>
  
  <p>I'm curious - what happens to UDP broadcast packets in the router?
  If I have a subnet mask of 255.255.255.0, then does the router make 254 packets for every packet sent ot the broadcast address?</p>
  
  <p>My WiFi bandwidth is at least 100Mbps, but I can't seem to send audio of more than around 10Mbps over UDP broadcast to multiple clients.</p>
  
  <p>What's stopping me from sending audio up to the bandwidth limit of the WiFi?</p>
  
  <p>any suggestions for socket code modifications, network setups, router setups, subnet modifications...  all very much appreciated!</p>
  
  <p>thanks
  Nick</p>