title: should I use while(true) to receive data from Socket?
body: <p>Please refer my previous question for code sample <a href="https://stackoverflow.com/questions/9826194/sockets-sometimes-rarely-packets-are-lost-during-receiving">Sockets: sometimes (rarely) packets are lost during receiving</a></p>
  
  <p>I need to receive data always from UDP multicast socket. This is one-way comminication I just need to listen for new data and process it asap.</p>
  
  <p>Should I use <code>while(true)</code>? I don't like <code>while(true)</code> because in my opinion this produce a lot of extra-work for processor. Probably c# offers other call-back techniques or something?</p>