Nimrodda / flutter_nsd

A Flutter plugin that enables Network Service Discovery (mDNS) on various platforms via their native APIs.
Apache License 2.0
34 stars 8 forks source link

Modified Windows implementation to return IP address when hostname couldn't be resolved #21

Closed jnstahl closed 3 years ago

jnstahl commented 3 years ago

check if hostname can be resolved before returning query result. Send…IP address as a string if not.

add error handling in case of a failed WSAInitialize