SLIDE 2 Basic concepts - 5 Basic concepts and directions in telecommunications C. Courcoubetis
Client-server service model
Server: application that listens to a specific network address (N,p)
- p: same for identical services
Client: “light” application, runs locally, connects for short time to a server using TCP
server B client server A server C
100 101
ports applications server C client
Basic concepts - 6 Basic concepts and directions in telecommunications C. Courcoubetis
Applications
Use the client – server model FTP: Listens to port 21, 2 TCP connections SMTP: simple mail transfer protocol
- Receives: message + addresses of receivers
Telnet: Simulates direct terminal connection
RTP: real-time transfer protocol
- audio+video transmission with small dealy
- Transmitter: Codes, Compresses
- Receiver: Stores, decodes
Basic concepts - 7 Basic concepts and directions in telecommunications C. Courcoubetis
Electronic mail
user agent (Alice) (MS Outlook) user agent (Jane) (Netscape) mail server hermes.aueb.gr 25 mail server xxx.ntua.gr 25 SMTP mail to jane@ntua.gr from alice@aueb.gr SMTP http POP3 IMAP http POP3: port 110, memory less IMAP: memory http: only a browser is required to send and receive Send an email message Access the mail server for messages
Basic concepts - 8 Basic concepts and directions in telecommunications C. Courcoubetis
WWW
HTTP: hypertext transfer protocol
- Uses TCP for transmission of files (port 80)
- web browser: client, remote machine: server
- 1. “click” go to my home page
<A HREF=“http://www.aueb.gr/users/courcou”>
- 2. Opens a connection with the server (3-way
handshake), Send the file’s address
- 3. server: Asks for the password, authentication, Sends
the file and terminates his connection
- 4. browser: Terminates his connection