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.
august97Asked:
Who is Participating?
 
imladrisConnect With a Mentor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.