Figure53 / QLabKit.objc

An Objective C library for controlling QLab using the OSC API introduced in QLab 3.
MIT License
26 stars 7 forks source link

Will randomly connect to localhost, instead of resolved address #16

Closed DouglasHeriot closed 8 years ago

DouglasHeriot commented 8 years ago

So, if NSNetService randomly happens to resolve an IPv6 address first, you may end up connecting to QLab on localhost instead – without any warning or errors.

My proposed fix solves this by supporting both v4 or v6 in IPAddressFromData: (F53OSC appears to work with both).