Answer Posted / bhumika
It is a class in Java which represents an Internet Protocol
(IP) address. An instance of an InetAddress consists of an
IP address and possibly corresponding hostname.
The Class represents an Internet address as Two fields:
1- Host name(The String)=Contain the name of the Host.
2- Address(an int)= The 32 bit IP address.
This fields are not public, so we cant Access them directly.
Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
What is network interface name?
What are the advantages and disadvantages of sockets?
What is the Difference between socket and servlet?
What is an http redirector?
How we can make simple java program for Server/Client Communication
Explain the generic term internet.
What is a client tester?
To create a socket, you need to know the internet host to which you want to connect?
Public serversocket(int port, int queuelength) throws ioexception, bindexception?
What is socket in java?
Explain a time server?
What is network programming in java?
What is an http server?
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?