Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

artnet_new returns empty interface list OSX 10.8/10.9 #1

Open
hautetechnique opened this issue Jan 28, 2014 · 5 comments
Open

artnet_new returns empty interface list OSX 10.8/10.9 #1

hautetechnique opened this issue Jan 28, 2014 · 5 comments

Comments

@hautetechnique
Copy link

There seems to be a problem initializing the network interfaces on OS X.

The function artnet_net_init fails to find any interfaces. For now i hardcoded the addresses, which works, but is not a great solution.

Does anyone encounter the samen problem or has a solution?

@nomis52
Copy link
Member

nomis52 commented Jan 29, 2014

It's working on Mavericks for me. What errors do you see? Are you network interfaces up?

@abusse
Copy link

abusse commented Mar 9, 2014

I the the same problem on iOS because of this:

Two low-level networking APIs that used to return a MAC address now return the fixed value 02:00:00:00:00:00. The APIs in question are sysctl (NET_RT_IFLIST) and ioctl (SIOCGIFCONF). Developers using the value of the MAC address should migrate to identifiers such as -[UIDevice identifierForVendor]. This change affects all apps running on iOS 7

I have not investigated it completely but quick googleing showed the same changes for Mavericks. So what basically happens, when artnet_net_init iterates over the interfaces it only finds lo0.

@nomis52
Copy link
Member

nomis52 commented Mar 10, 2014

What's the result of artnet_strerror() after the call fails ? Please also paste a link to your config.h file.

@Skylare
Copy link

Skylare commented Apr 28, 2016

I have the same issue as abusse mentioned. Whenever I'm trying to initiate artnet_node with current IP address of Wi-Fi interface (en0) on iOS, it only finds lo0 interface and init fails.
Are you planning any fix for this issue?

Thanks a lot

@timmb
Copy link

timmb commented Mar 3, 2017

Hi, I had this problem (on OSX 10.11) and it was because I didn't have any config.h file (I was just building the artnet source neat in my project. Including this config.h at the top of network.c seems to have fixed it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants