Transcript Document

Chapter 11
User Datagram
Protocol
(UDP)
McGraw-Hill
©The McGraw-Hill Companies, Inc., 2000
Figure 11-1
McGraw-Hill
©The McGraw-Hill Companies, Inc., 2000
Process-to-Process
Communication
• Host-to-Host
• Process-to-Process
McGraw-Hill
©The McGraw-Hill Companies, Inc., 2000
Ports
• To define a process a port is needed.
• Tipos:
– Ephemeral: random port number defined by the
client.
– Well-known port number: defined port number
defined by the server.
McGraw-Hill
©The McGraw-Hill Companies, Inc., 2000
Figure 11-3
McGraw-Hill
©The McGraw-Hill Companies, Inc., 2000
Figure 11-4
McGraw-Hill
©The McGraw-Hill Companies, Inc., 2000
Figure 11-5
(Ephemeral)
McGraw-Hill
©The McGraw-Hill Companies, Inc., 2000
Socket Address
McGraw-Hill
©The McGraw-Hill Companies, Inc., 2000
UDP
• Conectionless, Unreliable.
McGraw-Hill
©The McGraw-Hill Companies, Inc., 2000
Format del Frame
McGraw-Hill
©The McGraw-Hill Companies, Inc., 2000
Checksum
• Incluye: Pseudoheader, UDP Header, Data
Comming form the application layer.
McGraw-Hill
©The McGraw-Hill Companies, Inc., 2000
Example
McGraw-Hill
©The McGraw-Hill Companies, Inc., 2000
Operación
• Servicio Sin Conexión.
• NO tiene Control de Flujo.
• No tiene Control de Error
McGraw-Hill
©The McGraw-Hill Companies, Inc., 2000
Encapsulation
McGraw-Hill
©The McGraw-Hill Companies, Inc., 2000
Queues
McGraw-Hill
©The McGraw-Hill Companies, Inc., 2000
Multiplexing-Demultiplexing
McGraw-Hill
©The McGraw-Hill Companies, Inc., 2000
UDP Design
(keeptrack of the open ports)
McGraw-Hill
©The McGraw-Hill Companies, Inc., 2000
Chapter 12
Transmission
Control Protocol
(TCP)
McGraw-Hill
©The McGraw-Hill Companies, Inc., 2000
McGraw-Hill
©The McGraw-Hill Companies, Inc., 2000
Figure 12-1
McGraw-Hill
©The McGraw-Hill Companies, Inc., 2000
Process-to-Process
Communication
• Host-to-Host
• Process-to-Process
McGraw-Hill
©The McGraw-Hill Companies, Inc., 2000
Ports
• To define a process a port is needed.
• Tipos:
– Ephemeral: random port number defined by the
client.
– Well-known port number: defined port number
defined by the server.
McGraw-Hill
©The McGraw-Hill Companies, Inc., 2000
Figure 12-3
McGraw-Hill
©The McGraw-Hill Companies, Inc., 2000
Well-known ports in TCP
McGraw-Hill
Port
Protocol
7
Echo
20
FTP, Data
21
FTP, Control
23
TELNET
©The McGraw-Hill Companies, Inc., 2000
Figure 12-4
McGraw-Hill
©The McGraw-Hill Companies, Inc., 2000
Figure 12-5
McGraw-Hill
©The McGraw-Hill Companies, Inc., 2000
Figure 12-6
McGraw-Hill
©The McGraw-Hill Companies, Inc., 2000
Figure 12-7
McGraw-Hill
©The McGraw-Hill Companies, Inc., 2000
Figure 12-8
McGraw-Hill
©The McGraw-Hill Companies, Inc., 2000
Figure 12-9
McGraw-Hill
©The McGraw-Hill Companies, Inc., 2000
Figure 12-10
McGraw-Hill
©The McGraw-Hill Companies, Inc., 2000
Figure 12-11
McGraw-Hill
©The McGraw-Hill Companies, Inc., 2000
Figure 12-12
McGraw-Hill
©The McGraw-Hill Companies, Inc., 2000
Figure 12-13
McGraw-Hill
©The McGraw-Hill Companies, Inc., 2000
Figure 12-14
McGraw-Hill
©The McGraw-Hill Companies, Inc., 2000
Figure 12-15
McGraw-Hill
©The McGraw-Hill Companies, Inc., 2000
Figure 12-16
McGraw-Hill
©The McGraw-Hill Companies, Inc., 2000
Figure 12-17
McGraw-Hill
©The McGraw-Hill Companies, Inc., 2000
Figure 12-18
McGraw-Hill
©The McGraw-Hill Companies, Inc., 2000
Figure 12-19
McGraw-Hill
©The McGraw-Hill Companies, Inc., 2000
Figure 12-20
McGraw-Hill
©The McGraw-Hill Companies, Inc., 2000
Figure 12-21
McGraw-Hill
©The McGraw-Hill Companies, Inc., 2000
Figure 12-22
McGraw-Hill
©The McGraw-Hill Companies, Inc., 2000
Figure 12-23
McGraw-Hill
©The McGraw-Hill Companies, Inc., 2000
Figure 12-24
McGraw-Hill
©The McGraw-Hill Companies, Inc., 2000
Figure 12-25
McGraw-Hill
©The McGraw-Hill Companies, Inc., 2000
Figure 12-26
McGraw-Hill
©The McGraw-Hill Companies, Inc., 2000
Figure 12-27
McGraw-Hill
©The McGraw-Hill Companies, Inc., 2000
Figure 12-28
McGraw-Hill
©The McGraw-Hill Companies, Inc., 2000
Figure 12-29
McGraw-Hill
©The McGraw-Hill Companies, Inc., 2000
Figure 12-30
McGraw-Hill
©The McGraw-Hill Companies, Inc., 2000