"URI address not recognized" UDP prefix RRS feed

  • Question

  • I'm trying to implement a torrent client so I need to be able to handle udp://* prefixed addresses. I've tried using WebClient and WebRequest to handle it but they both throw "URI address not recognized" exceptions and using DNS IP resolution throws "host not found".

    Is there another way to handle this or parse the address to http://* or some other handled address?

    Sunday, December 16, 2012 5:30 PM

All replies

  • WebClient and WebRequest are Http which uses TCP as the transport protocol. You can't mix UDP and TCP in a connection.  You must use a UDPClient.


    Sunday, December 16, 2012 8:50 PM