A
Ajay
hi!
I am making the following call on my PDA which has WLAN connectivitythis prints 127.0.0.1
the PDA has an assigned IP address.
so if i go
UDPserversocket = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
UDPserversocket.bind((socket.gethostname(), LOCAL_SERVER_PORT))
this binds to the localhost instead of the assigned IP address. how can i
get it to bind to the assigned IP? i dont want to explicitly enter the IP
address into the bind call, since the IP may change.
thanks
cheers
I am making the following call on my PDA which has WLAN connectivitythis prints 127.0.0.1
the PDA has an assigned IP address.
so if i go
UDPserversocket = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
UDPserversocket.bind((socket.gethostname(), LOCAL_SERVER_PORT))
this binds to the localhost instead of the assigned IP address. how can i
get it to bind to the assigned IP? i dont want to explicitly enter the IP
address into the bind call, since the IP may change.
thanks
cheers