how do I resolve a domain name into an IP address ?
Sun, 06/29/2008 - 21:06 — plevintampabay
In J2SE one would call InetAddress.getByName(String) to convert the given domain name into an IP address. This method does not exist in J2ME. How is this conversion done in the BlackBerry?
Thanks,
Paul
I am porting some J2SE code to BlackBerry. The J2SE code calls getByName(). In reading more, it seems that the BlackBerry does not need to have the domain name converted to an IP before opening the socket. So maybe I don't need it.
Why do you need it?
I am porting some J2SE code to BlackBerry. The J2SE code calls getByName(). In reading more, it seems that the BlackBerry does not need to have the domain name converted to an IP before opening the socket. So maybe I don't need it.