how do I resolve a domain name into an IP address ?

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

Trackback URL for this post:

http://blackberry.developercommunity.com/trackback/509

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.