Skip to content

Tag Archives: Java-Networking

Prerequisite – JAR files in Java What is a Jar file? JavaArchive(JAR) bundles all the classes in one package. Since the archive is compressed and… Read More
This class implements IP socket address( combination of IP address and port number). The objects of this class are immutable and can be used for… Read More
This class represents IPv6 address and extends the InetAddress class. Methods of this class provide facility to represent and interpret IPv6 addresses. Methods of this… Read More
This class extends the InetAddress class and represents an IPv4 address. It provides methods to interpret and display useful information about IP addresses.  Methods of… Read More
This class represents network interface, both software as well as hardware, its name, list of IP addresses assigned to it, and all related information. It… Read More
Prerequisite – Cookies Many websites use small strings of text known as cookies to store persistent client-side state between connections. Cookies are passed from server… Read More
Many websites use small strings of text known as cookies to store persistent client-side state between connections. Cookies are passed from server to client and… Read More
Authenticator class is used in those cases where an authentication is required to visit some URL. Once it is known that authentication is required, it… Read More
HttpURLConnection class is an abstract class directly extending from URLConnection class. It includes all the functionality of its parent class with additional HTTP-specific features. HttpsURLConnection… Read More
DatagramSockets are Java’s mechanism for network communication via UDP instead of TCP. Java provides DatagramSocket to communicate over UDP instead of TCP. It is also… Read More
Networking is two-way communication between a host and a server, rather than an exchange of information. Any server is set up to respond to specific… Read More
Prerequisite: Socket Programming in Java Networking just doesn’t conclude with a one-way communication between the client and server. For example consider a time telling server… Read More
URLConnection is an abstract class whose subclasses form the link between the user application and any resource on the web. We can use it to… Read More
 An IP address is an address having information about how to reach a specific host which is a 32-bit unique address number having an address… Read More

Start Your Coding Journey Now!