Network programming (2014/2015)

Course code
Davide Quaglia
Academic sector
Language of instruction
Teaching is organised as follows:
Activity Credits Period Academic staff Timetable
Teoria 4 II sem. Damiano Carra, Davide Quaglia
laboratorio 2 II sem. Damiano Carra, Davide Quaglia

Lesson timetable

II sem.
Activity Day Time Type Place Note
Teoria Wednesday 11:30 AM - 1:30 PM lesson Laboratory Delta  
laboratorio Tuesday 11:30 AM - 2:30 PM laboratorio Laboratory Delta  

Learning outcomes

The course has three goals: to provide the knowledge is socket programming and network application design; to introduce to the configuration and the management of network systems (access points, routers, NATs); to provide an overview of the basic concepts related to system and network security.


TCP/UDP sockets in C and Java, multithread sockets; web services (WSDL, SOAP, REST); design of client-server and peer-to-peer applications.
Network analysis tools (Wireshark, traceroute, ping); configuration and management of routers and routing protocols, addressing and subnetting, IP services (access control lists, DHCP, NAT), and switching (VLAN, Spanning Tree).
Introduction to system and network security, cryptography, message integrity; data link security (wireless LAN), IP security (IPsec), transport layer security (SSL) and application layer security (PGP); operational security (firewall and intrusion detection).

Prerequisites: Computer Networks, Programming II.
Must-have: Programming I.

Assessment methods and criteria

Written examination with theoretical questions, code writing, exercises according to the content of lessons and laboratory sessions. Eventually, an oral examination can be required either by the student to improve evaluation or by the teachers for clarification.

Teaching aids
Title Format (Language, Size, Publication date)
00.Calendario del corso  pdfpdf (it, 42 KB, 08/06/15)
01.Presentazione del corso  pdfpdf (it, 262 KB, 02/03/15)
02.Ripasso sui concetti fondamentali delle reti  pdfpdf (it, 566 KB, 03/03/15)
03.Programmazione di rete  zipzip (it, 12245 KB, 04/03/15)
04.Soluzioni esercizi sui socket  zipzip (it, 14 KB, 30/03/15)
05.Strumenti di analisi di rete  zipzip (it, 737 KB, 09/04/15)
06.Introduzione alla gestione di apparati di rete  pdfpdf (it, 2285 KB, 15/04/15)
07.Introduzione a Cisco IOS  pdfpdf (it, 1157 KB, 28/04/15)
08.Esercitazione su programmazione di apparati di rete  pdfpdf (it, 1010 KB, 28/04/15)
09.Introduzione alla sicurezza  pdfpdf (it, 228 KB, 12/05/15)
10.Crittografia  pdfpdf (it, 200 KB, 12/05/15)
11.Integrità Autenticazione Autorizzazione  pdfpdf (it, 1219 KB, 18/05/15)
12.Firewall e Intrusion Detection System  pdfpdf (it, 292 KB, 26/05/15)
13.Sicurezza delle email, del livello di trasporto e delle wireless LAN  pdfpdf (it, 321 KB, 27/05/15)
14.Software Defined Networks  pdfpdf (it, 2734 KB, 08/06/15)
A.Esempi di temi d'esame  pdfpdf (it, 93 KB, 28/05/15)
B.Tema d'esame del 17 giugno 2015  pdfpdf (it, 42 KB, 10/08/15)
C.Tema d'esame del 7 luglio 2015  pdfpdf (it, 43 KB, 10/08/15)