Skip to content

Tag Archives: Java-Networking

This class provides facility for connection less transfer of messages from one system to another. Each message is routed only on the basis of information… Read More
Datagram socket is a type of network socket which provides connection-less point for sending and receiving packets. Every packet sent from a datagram socket is… Read More
This class provides methods for creating URI instances from its components or by parsing the string form of those components, for accessing and retrieving different… Read More
This class represents a network interface address. Every device that has an IP address has an IP address on the network interface. In fact the… Read More
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