hi, i need to get the ip address from the given host name. For example,if "google.com" is given i need the ip address of google.com. How to achive this in iphone?
A:
Do it like any other POSIX systems, i.e. use getaddrinfo()
(See http://en.wikipedia.org/wiki/Getaddrinfo).
KennyTM
2010-01-19 07:12:18
Looks good, but the link is dead.
MusiGenesis
2010-10-15 16:16:35
@MusiGenesis - link updated
R Samuel Klatchko
2010-10-19 17:23:25
Thanks, useful stuff.
MusiGenesis
2010-10-19 17:47:49