Find IP Address without Java
I'm interested in getting the IP address of the current machine on the local network, but I cannot use any Java (i.e. [mxj net.local]). One possible solution would be to use the [shell] object or similar to run 'ifconfig' and parse the output, but last time I used the [shell] object, it was buggy.
Can you think of any alternatives? I've never written an external – do you think it would be simple to acquire this information from C?
Needs to run on OSX only.
This would be super helpful for me as well. Let me know if you find a solution!!
GW
there's no issue with shell, parse output with regexp- works just fine- post the patch if you want debbug.
though if you want to rewrite maxmsp go ahead ;)
Per a few requests, I've posted my external shell object at http://max4eigenharp.com/?p=83