ihf
Apr 23, 2014 - 06:48
I was writing something that needs the iPad's ipaddress.
ip = socket.gethostbyname(socket.gethostname())
results in
socket.gaierror: [Errno 8] nodename nor servname provided, or not known
Is there a way to find the ipaddress?