Re: Create InetAddress from a String.



jseidelREMOVECAPS@xxxxxxxxxxxx schrieb:
I need to create a socket connection to a site.

String name = "elektra.usm.com" socket sock = new socket( name, port );

This wont work because the name isn't an ip address. I need to create
an InetAddress from it.  How do I do that?

Jerry

java.net Class InetAddress .