Cours SocketsGilles MENEZ24 mars 2000Maˆıtrise d’InformatiqueUFR Sciences - UNSA0-0===Gilles Menez Maˆıtrise InformatiqueTable des matieres``1 Le modele client-serveur 11.1 Caracter´ isation du mode`le................................ 11.2 Serveurs d’applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.3 Applications point-a-point` . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.4 Les services Unix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21.5 Les points de communication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31.6 Les services et les ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 Berkeley Sockets 52.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52.2 Network I O et File I O................................. 62.2.1 Particularites´ des Network I O.......................... 62.3 Le concept de socket . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72.4 Caracter´ isation d’une socket . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82.4.1 Le type d’une socket . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82.4.2 Le domaine d’une socket . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82.4.3 Stream et Datagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92.5 La structure socket . . . . . . . . . . . ...