how to get the ip address of the current system mac code example
Example: get ip of mac
Use for wireless
ipconfig getifaddr en1
or for ethernet
ipconfig getifaddr en0
ipconfig getifaddr en0 is default for wifi interface.
Use for wireless
ipconfig getifaddr en1
or for ethernet
ipconfig getifaddr en0
ipconfig getifaddr en0 is default for wifi interface.