It was <2014-07-13 nie 19:13>, when Baek Seung Hoon wrote: > hello, I developed tizen application using sockets. > > but I can't get my address in socket and anywhere. > > I searched in google, i don't know it. > > how can i get a my ip address in socket or netendpoint class or anything?
It depends on what you need this information for. There should be some kind of API to get an IP from a *connected* socket. It may not be possible to determine IP address of an not-yet-connected socket because the OS decides which one to assign when you connect. You may also want to try a service like http://www.whatismyip.com/ which gives you the IP as seen by a party you are talking to, which is important if you are behind a NAT. -- Łukasz Stelmach Samsung R&D Institute Poland Samsung Electronics
pgpDIvco8TkVq.pgp
Description: PGP signature
_______________________________________________ Dev mailing list [email protected] https://lists.tizen.org/listinfo/dev
