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 are the advantages and disadvantages of java sockets.
What is a listener in networking?
Public serversocket(int port, int queuelength) throws ioexception, bindexception?
What is the main difference between Client side Java Script and and Server side Java Script how actually they run on both side with Example.
What is jhttp web server?
To create a socket, you need to know the internet host to which you want to connect?
What do you understand by the term network?
What is the Difference between socket and servlet?
Tell me about networking classes and interfaces.
Explain the generic term internet.
What is the use of network interface?
Explain look for local ports?
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 is network programming in java?
How we can make simple java program for Server/Client Communication