Home Java Network Tutorials in this section

Ask Questions?

View Latest Questions


 
 

Tutorials in the section

Overview of Networking through JAVA  
This page discusses - Overview of Networking through JAVA.

RMI Client And RMI Server Implementation  
The RMI application comprises of the two separate programs, a server and a client..

URL Connection Reader  
In this section, you will learn about the url connection reader. Here, first of all we are going to define class named "URLConnectionReader"..

URLReadFile  
This is a simple program of java network. In this section, you will learn how to read HTML file..

Low port Scanner  
In this section, you will learn how to get local port number of the local machine..

Local Port Scanner  
This is a simple program of java network. Here, we are going to define class named "LocalPortScanner" in which we use ServerSocket class of java.net package which takes local port number as argument. .

Getting Image from a URL  
In the example given below, we are creating the no argument constructor, then calling the super class constructor and then setting the size of the window.

Return the MIME Header  
In this section you will learn about the method to retrieve the MIME header..

Construct a DatagramSocket on an unspecified port  
In this section we are going to explain the process to construct a DatagramPacket object in more generic way..

Construct a DatagramPacket to receive data  
In this section we provide a complete code of a example based on the method .

To retrieve the IP address from Host Name, vice-versac  
Here we are going to explain the method to find out the IP address from host name and to vice verse..

Convert URI to URL  
Here we are going to explain the method to change Uniform Resource Identifier (URI) reference to uniform resource locator (URL). .

Find the Host name in reverse of given IP address  
In this section you will learn to retrieve the information about the local host name using the getHostName() method..

Getting the Local port  
In this section you will learn that how a user can access the Local port. .

Find Your Host Name  
Here we are going to explore a method to retrieve the host name of the local system in a very simple example.

Getting list of Local Interfaces on a machine  
Here we are going to explain the method to find out the total no of list of local interfaces available on a machine..

Find Your Host Name/IP Address  
In this section you will learn about the getLocalHost() method to print the Host name as well as the IP Address of the local system..

Server Sockets  
In common language we can say that the sockets are just like an end-point of two-way communication link over the network between two programs.

Socket and ports  
In common language we can say that the socket is one of the most primal technologies of computer networking..

Client-Server Architecture  
Client-server architecture can be considered as a network environment that exchanges information between a server machine and a client machine where server has some resources that can be shared by different clients..

URL in term of Java Network Programming  
A URL (Uniform Resource Locator) is the address of a resource on the Internet. .

Overview of Networking through JAVA  
The Java platform is extremely preferable to write an application program require to communicate with the resources on network..

Open a URLConnection to specific website address  
Here we are going to establish a connection to a specific web address via a complete example..

Computer Networking  
Here we are going to unfold the concepts of networking in day to day scenarios..

Print the URL of a URLConnection  
In this section we are going to describe, how to retieve the value of the URL assign to the url object..

Networking in Java  
In this section we are exploring the java.net package which provides the support for networking in java with a generic style..

Datagram in network environment  
In a network environment the client and the server communicate with each-other by reliable channel like TCP socket which have dedicated point-to-point channel between client and server..

How to retrieve URL information  
Here we are going to explain a method for retrieve all the network information for a given URL. In the given below example we use the URL class and make a object. .

ReadIPAddress  
Here, we are going to explore a method to retrieve the IPAddress of the local system in a very simple example. For this, we use getByName() method of InetAddress class to create a object that contains IP address for the given host name..

GetKeepAlive  
In this section, you will show the used of several method for different output massage. Here, we provide a complete example based on the method for creating the Socket() method. Firstly create a class named of "getKeepAlive" and initialize a class Socket.

URLInformation  
Here we are going to explain the method to find out the URL information. This program defines the IOException for the exception handling. This exception is thrown to indicate an I/O problem..

GetHTTPHeader  
In this section, you will learn how to get content-length, content- type, and last-modify date of a file. Here we provide a complete example that uses getHeaderFieldKey() method. Firstly create a class GetHTTPHeader and initialize a class URLConnection. T.

EncoderTest  
This is a simple program of java network and supports the java.net package. Here, we have defined the class named EncoderTest.java. This class contains static methods for converting a String to the application-urlencoded MIME format..

EchoClientSocket  
In this section, we are going to explain the method to find out the hostname port number of a local machine. This program defines the IOException for the exception handling. This exception is thrown to indicate an I/O problem in the program..

Client Socket Information  
In this section, you will learn how to get client socket information. This is a very simple program of java network. Here, we have used the class named ClientSocketInformation.java that implement the constructor of the Socket class passing two arguments a.

DMCA.com