keepsimple1 / mdns-sd

Rust library for mDNS based Service Discovery
Apache License 2.0
96 stars 37 forks source link

ServiceInfo: support get_addresses_v4 #132

Closed keepsimple1 closed 12 months ago

keepsimple1 commented 12 months ago

This is to address issue #131 . By adding a new method to return Ipv4Addr only, a user can continue to call Ipv4 only methods.

I've not implemented a v6 version as the main purpose is for backward compatibility when the app was expecting to get IPv4 addresses.