Skip to content

Tag Archives: Java-Networking

The checksum is an error-detecting technique that can be applied to message of any length. It is used mostly at the network and transport layers… Read More
To get the size of file from server first you need to connect to the server using URL and HttpURLConnection Class. To get the size… Read More
Java Program to read and download webpage Steps: 1. Create a URL object and pass url as string to download the webpage. URL example =… Read More
Checking Internet connectivity using Java can be done using 2 methods: 1) by using getRuntime() method of java Runtime class. 2) by using methods of… Read More
In article Pinging an IP address in Java, we have discussed how to ping an IP address using java.net.InetAddress.isReachable() method. In this post we will… Read More
PING stands for Packet InterNet Groper in computer networking field. It’s a computer network administration software used to test the reachability of a host on… Read More
Prerequisites : Introducing threads in socket programming, Multi-threaded chat Application | Set 1 This article gives the implementation of client program for the multi-threaded chat… Read More
Prerequisites : Introducing threads in socket programmingIn the above article, a simple date time server was created which handled multiple user requests at the same… Read More
Prerequisites : Socket Programming in Java This article assumes that you have basic knowledge of socket programming in java and the basic details of client-server… Read More
This is a utility class for HTML form decoding. It just performs the reverse of what URLEncoder class do, i.e. given an encoded string, it… Read More
This class is a utility class for HTML form encoding. Encoding makes the form of URL more reliable and secure. When the user request is… Read More
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

Start Your Coding Journey Now!