I am creating an app where I need the name of the local network that I am currently using. When I coded this, it printed en0
instead of the actual name.
I've tried several different things. Some print nothing, some print en0
.
Optional error message: no network found
expected: network name