snej / MYNetwork

Mooseyard Networking library: Cocoa utilities, including a generic TCP server/client, plus the reference implementation of the message-oriented BLIP protocol. (This is a mirror of the Mercurial repository at https://bitbucket.org/snej/mynetwork)
27 stars 9 forks source link

Resolve weird issues looking up addresses by switching interfaceIndex to the proper type #7

Closed aleffert closed 11 years ago

aleffert commented 11 years ago

Resolve weird issues looking up addresses by switching interfaceIndex to the proper type.

I'm not sure why this was suddenly causing issues in my app, it used to work - maybe an OS update or something, but interfaceIndex was coming in as -1, which got changed to what I'm assuming was no longer a sentinal value when the type got squashed.

snej commented 11 years ago

Huh, interesting. Definitely looks like a good change since the DNS API uses a uint32_t.