Universita' di Bologna, II Facolta' di Ingegneria Reti di Calcolatori, materiale didattico: annesso alle Lezioni 4 e 12 Java Networking - Tutorial URLs and sockets N.B.: questo tutorial e' stato ottenuto per cut-and-paste di materiale contenuto nel sito: http://java.sun.com/docs/books/tutorial/networking/. Sono stati rimossi alcuni errori nella sezione 3.1. Table of Contents 1 Overview of Networking............................................................................................... 2 1.1 What You May Already Know About Networking in Java....................................... 2 1.1.1 Loading Applets from the Network .................................................................. 3 1.1.2 Loading Images from URLs ............................................................................. 3 1.2 Networking Basics................................................................................................... 3 1.2.1 TCP .................................................................................................................. 4 1.2.2 UDP.................................................................................................................. 4 1.2.3 Understanding Ports ........................................................................................ 5 1.2.4 Networking Classes in the JDK ....................................................................... 6 2 Working with URLs.................... ...
Voir