title: Does python's recvfrom() queue packets?
body: <p>My impression was recvfrom() gave you the next packet on the IP and port it is listening on, and if it is not listening packets get missed.  We are having an issue where the problem could be packets are queued up for recvfrom(), therefore it is listening and catching all packets even when recvfrom() is not actively listening.</p>
  
  <p>I could not find definitive documentation on this.  Does anybody know for sure the characteristics of recvfrom() is to not queue packets when not being called?</p>
  
  <p>code example:</p>
  
  <pre><code>s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
  s.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
  
  mcast_g = socket.inet_aton(group)
  mreq = struct.pack('4sL', mcast_g, socket.INADDR_ANY)
  s.setsockopt(socket.IPPROTO_IP, socket.IP_ADD_MEMBERSHIP, mreq)
  
  s.bind(('', port))
  
  while True:
      data, sender = s.recvfrom(1500)
      # Do stuff
      # Are packets being queued up here?
  </code></pre>