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