react-native-zeroconf icon indicating copy to clipboard operation
react-native-zeroconf copied to clipboard

Addresses

Open elmcapp opened this issue 2 years ago • 1 comments

I like to know if you could add a key for each address

example: addresses:[ { Mac: 'fe80::b09c:4aff:f', ip4: '123.456.3.56 ]

This way we know what kind of address we are working with.

At first I could do addresses[0] and if would always get the ipv4 however with new update of macOS and iOS the ipv4 is not always first, sometimes I get the Mac address first.

I need to make sure I always get the ip address

elmcapp avatar Dec 01 '22 04:12 elmcapp

FYI I realise this was raised a year ago but that's not the MAC address, it's an IPV6 address

pghalliday avatar Dec 12 '23 15:12 pghalliday