Skip to content

Tag Archives: Java-Networking

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.… 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 a two-way communication between a host and a server, rather an exchange of information. Any server is setup to respond to specific queries… 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
In the previous article, we saw how we can create a URL object and get the information of any resource on the internet. But barely… Read More
The URL class is the gateway to any of the resource available on the internet. A Class URL represents a Uniform Resource Locator, which is… Read More
This class represents an IP address. It represents both the 32 bit IPv4 address and 128 bit IPv6 address. It is the superclass of Inet6Address… Read More