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
What is an http redirector?
To create a socket, you need to know the internet host to which you want to connect?
What is HttpURL connection ?
What are the advantages and disadvantages of sockets?
Explain a daytime server?
What is cookies in networking ?
What is network interface name?
What is network programming in java?
What is a client tester?
What do you understand by the term network?
Explain the generic term internet.
What is the use of network interface?
Public serversocket(int port, int queuelength) throws ioexception, bindexception?
Where is the network interface card located?
If you do not want your program to halt while it waits for a connection, put the call to accept( ) in a separate thread?