When I register new service with DNS-SD api in C and then try to discover this service on another computer in my LAN, I am getting after resolving this discovered service something like this:
Here hostname is: Michal's-iMac-5k.local.
How this translates to IP addrees, or how to use it to connect via TCP socket?