Answer Posted / kharthigeyan
InetAddress is a class used to find the ip address of a host
in a network.
This InetAddress is divided into two types,
1)Inet4address for the ip version 4(ipv4)=Which has 32bit ip
address
2)Inet6address for the ip version 6(ipv6)=Which has 128bit
ip address
There are subclasses & abstract in the InetAddress.
| Is This Answer Correct ? | 92 Yes | 19 No |
Post New Answer View All Answers
What is a thread pool?
What is a client tester?
What is socket in java?
Explain look for local ports?
Explain a daytime server?
What is an http server?
Tell me about networking classes and interfaces.
What is jhttp web server?
What is the use of network interface?
What are the advantages and disadvantages of sockets?
How we can make simple java program for Server/Client Communication
What do you understand by the term network?
If you do not want your program to halt while it waits for a connection, put the call to accept( ) in a separate thread?
To create a socket, you need to know the internet host to which you want to connect?
Why socketutil is used?