sbstp / rust-igd

Internet Gateway Device (UPNP) client
https://docs.rs/igd/
MIT License
105 stars 43 forks source link

use non-fixed number for local udp port #9

Closed vinipsmaker closed 9 years ago

vinipsmaker commented 9 years ago

It helps to avoid "Address already in use (os error 98)" when multiple instances are started.

This is safe, because responses to such search requests are sent via unicast addressing to the originating address and port number of the multicast request.

sbstp commented 9 years ago

There's nothing in the diff.

vinipsmaker commented 9 years ago

My bad. Try now.

sbstp commented 9 years ago

Thanks!