| Reply | « Previous Thread | Next Thread » |
|
Trying to implement a client for a protocol that includes the client-side IPV4 address in a UDP packet. (No, the protocol doesn't work from behind a NAT :-) No socket.gethostname, no socket.getpeername (which wouldn't help because it's not a connected socket anyway)... nothing obvious in e32socket... suggestions?
|
|
(For now, I've kludged it to urllib.open.read a remote web page that just returns the client address as a string; for the simple case, this would work with NAT'ed addresses too, since all that matters is the address "presented" to the outside world, but isn't quite what I'm looking for.)
|
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Rate This Thread | |