Java network programming provides the facility of connecting two or more computing devices together. The devices communicate with each other using either the Transmission Control Protocol (TCP) or the User Datagram Protocol (UDP).
The java.net package provides the classes for java network programming.
TCP protocol is used by URL, URLConnection, Socket, and ServerSocket classes whereas UDP protocol is used by DatagramPacket, DatagramSocket, and MulticastSocket classes.
Java networking tutorial
- How to create url object in java?
- How to create url object with properties in java?
- How to create url from file in java?
- How to read url properties in java?
- How to create relative url in java?
- How to compare two urls in java?
- How to read or get contents of a url in java?
- How to encode url in java?
- How to decode url in java?
- How to get ip address in java?
- How to get ip address of host in java?
- How to get hostname from ip address in java?
- How to get system hostname in java?
- How to get list of all ip addresses on network in java?