• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 387
  • Last Modified:

gethostbyname()

JDK 1.2, NT4.0 development platform, NT4.0 target platform

I need a JAVA code fragment to perform a gethostbyname() call.

Thank you in advance.
0
august97
Asked:
august97
1 Solution
 
imladrisCommented:
Is there something insufficient with the getByName method in the InetAddress class in the net package:

public static synchronized InetAddress getByName(String host) throws UnknownHostException;

0
 
august97Author Commented:
Thank you!
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now