title: python 3.5 ICMP socket not working on Windows
body: <p>I'm trying to make traceroute implementation in python 3.5. On linux this code works fine. On Windows 10 I have infinity waiting of ICMP packet. Wireshark see ICMP packet in Windows.</p>
  
  <pre><code>import socket
  
  # Create a UDP and ICMP sockets
  receiver = socket.socket(socket.AF_INET, socket.SOCK_RAW, socket.getprotobyname('ICMP'))
  
  sender = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
  sender.setsockopt(socket.SOL_IP, socket.IP_TTL, 1)
  
  server_address = (socket.gethostbyname('google.com'), 33434)
  
  try:
      # Send data
      receiver.bind(("", 33434))
      sent = sender.sendto(b"", server_address)
      data, server = receiver.recvfrom(512)
      print('received "%s"\n"%s"' % (data, server[0]))
  finally:
      print('closing socket')
      sender.close()
      receiver.close()
  </code></pre>