NETWORKING - Java Codes
Description This is a code which runs like a web Browser. You can run this application on both Direct Connections as well as the Proxy Configured Connections. Source Code import java.awt.*; import java.n ...

Description When, I was developping a network based application in Java. I face a lot of problems to configure network, specially the Proxy Configuration. After a lot of effort finally, I got the solution. Here is the code fragment, by using ...

Description This is a code which can be used to download any HTML Page,page will be saved in the directory from where your code is being executed & will be stored as YFRIndia.html NOTE: This works only for "Direct Internet Connections". If you ...

Description This is a code which implements the Document Iterator for HTML documents. You just have to provide a URL. This code also works on the Proxy Configurations. Source Code import java.io.Buffered ...

Description This program when executed gives your systems IP address as an output. Source Code import java.net.InetAddress; import java.net.UnknownHostException; public class DNSLookup { public ...

Description this code gives IP Address of a host Source Code /* * DNSLookup.java * * Created on 7 October, 2008, 4:18 PM * * To change this template, choose Tools | Template Manager * a ...

Description This a sample code to download a file from network using Java. It is console application which required atleast JDK 5 (Java Development Kit - 5). Which can be download from here . This code wo ...

Description It download applications from some download website's URL. Source Code /* * DownloadManager.java * * Created on August 22, 2008, 9:28 AM * * To change this template, choose Tools | Templ ...

Description This code prints multiple internet mail extension header when executed, it throws an extension when cannot detect a URL Source Code import java.io.IOException; import java.net.MalformedURLE ...

Description Duplication is useful when you want to transmit the same data over multiple channels roughly in parallel. In this code the single file to serve is stored in one constant read only buffer every time a client connectsthe peogram makes ...






