So here's the deal:
I wrote a server that runs on nokia phone
HOST = '' # Symbolic name meaning the local host
PORT = 12008 # Arbitrary non-privileged port
print "define the socket"
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
print "bind the socket"
print "waiting of the client to connect"
conn, addr = s.accept()
print 'Connected by', addr
data = conn.recv(1024)
if not data: break
Everything ok so far BUT now writing a client on PC I need to know phone's ip so I can establis connection to it
and I want application which runs on phone to tell me phone's ip... how do I do it?
oh and this wont work:
it sais there's no method "select_access_point()" or something like that