What is InetAddress?

Answer Posted / rohit sharma

InetAddress is a class in java by which we can get IP
address of any machine.
method is "public static InetAddress getLocalHost()"

Is This Answer Correct ?    34 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a thread pool?

651


Public serversocket(int port, int queuelength) throws ioexception, bindexception?

686


Explain look for local ports?

580


What is a listener in networking?

593


If you do not want your program to halt while it waits for a connection, put the call to accept( ) in a separate thread?

553






What do you understand by the term network?

580


To create a socket, you need to know the internet host to which you want to connect?

541


Explain the generic term internet.

598


Where is the network interface card located?

530


What are the advantages and disadvantages of sockets?

579


What is network programming in java?

575


Explain a time server?

596


What is an http server?

550


What is cookies in networking ?

621


What is socket in java?

634