Professional Documents
Culture Documents
Process-to-Process Delivery: Udp and TCP: CT047-3-2-SPCC
Process-to-Process Delivery: Udp and TCP: CT047-3-2-SPCC
CT047-3-2-SPCC
Process-to-Process Delivery:
UDP and TCP
Level-2
CT047-3-2 Systems Programming and Computer Control Process to Process to delivery UDP and TCP
Learning Outcomes
CT047-3-2 Systems Programming and Computer Control Process to Process to delivery UDP and TCP
Key Terms you must be able to use
If you have mastered this topic, you should be able to use the following terms
correctly in your assignments and exams:-
– Client – Port number
– Client-server paradigm – Process-to-process delivery
– Connection establishment – Receiver window
– Connection termination
– Retransmission timer
– Connectionless service
– Connection-oriented service – Round-trip time (RTT)
– Ephemeral port number – Segment
– Finite state machine – Sender window
– Flow control – Sequence number
– Keep-alive timer – Server
– Persistence timer – Silly windows syndrome
CT047-3-2 Systems Programming and Computer Control Process to Process to delivery UDP and TCP
Key Terms you must be able to use
If you have mastered this topic, you should be able to use the following terms
correctly in your assignments and exams:-
CT047-3-2 Systems Programming and Computer Control Process to Process to delivery UDP and TCP
Position of transport layer
CT047-3-2 Systems Programming and Computer Control Process to Process to delivery UDP and TCP
Transport Layer
CT047-3-2 Systems Programming and Computer Control Process to Process to delivery UDP and TCP
Packetizing
CT047-3-2 Systems Programming and Computer Control Process to Process to delivery UDP and TCP
Connection control
CT047-3-2 Systems Programming and Computer Control Process to Process to delivery UDP and TCP
Addressing
CT047-3-2 Systems Programming and Computer Control Process to Process to delivery UDP and TCP
Providing reliability
CT047-3-2 Systems Programming and Computer Control Process to Process to delivery UDP and TCP
Process-to-Process Delivery
CT047-3-2 Systems Programming and Computer Control Process to Process to delivery UDP and TCP
Note
Note:
CT047-3-2 Systems Programming and Computer Control Process to Process to delivery UDP and TCP
Types of data deliveries
CT047-3-2 Systems Programming and Computer Control Process to Process to delivery UDP and TCP
Process-to-Process Delivery
1. Client-Server Paradigm
2. Addressing
3. Multiplexing and Demultiplexing
4. Connectionless/Connection-Oriented
5. Reliable/Unreliable
CT047-3-2 Systems Programming and Computer Control Process to Process to delivery UDP and TCP
Client-server Paradigm
CT047-3-2 Systems Programming and Computer Control Process to Process to delivery UDP and TCP
Addressing
CT047-3-2 Systems Programming and Computer Control Process to Process to delivery UDP and TCP
Port numbers
CT047-3-2 Systems Programming and Computer Control Process to Process to delivery UDP and TCP
Addressing
CT047-3-2 Systems Programming and Computer Control Process to Process to delivery UDP and TCP
Address – IANA Ranges
CT047-3-2 Systems Programming and Computer Control Process to Process to delivery UDP and TCP
IANA ranges
CT047-3-2 Systems Programming and Computer Control Process to Process to delivery UDP and TCP
Socket address
CT047-3-2 Systems Programming and Computer Control Process to Process to delivery UDP and TCP
Multiplexing and demultiplexing
CT047-3-2 Systems Programming and Computer Control Process to Process to delivery UDP and TCP
Multiplexing and demultiplexing
CT047-3-2 Systems Programming and Computer Control Process to Process to delivery UDP and TCP
Connectionless vs Connection-Oriented
CT047-3-2 Systems Programming and Computer Control Process to Process to delivery UDP and TCP
Connection Oriented Service
CT047-3-2 Systems Programming and Computer Control Process to Process to delivery UDP and TCP
Connection Termination
CT047-3-2 Systems Programming and Computer Control Process to Process to delivery UDP and TCP
Connection Termination
CT047-3-2 Systems Programming and Computer Control Process to Process to delivery UDP and TCP
Reliable vs Unreliable
CT047-3-2 Systems Programming and Computer Control Process to Process to delivery UDP and TCP
User Datagram Protocol (UDP)
1. Port Numbers
2. User Datagram
3. Applications
UDP does not add anything to the services of IP except for providing process-to-
process communication instead of host-to-host communication. Also, it performs
very limited error checking.
UDP is very simple protocol with a minimum of overhead.
UDP is a convenient protocol for multimedia and multicasting applications.
CT047-3-2 Systems Programming and Computer Control Process to Process to delivery UDP and TCP
Note
Note:
CT047-3-2 Systems Programming and Computer Control Process to Process to delivery UDP and TCP
User datagram format
CT047-3-2 Systems Programming and Computer Control Process to Process to delivery UDP and TCP
Note
Note:
CT047-3-2 Systems Programming and Computer Control Process to Process to delivery UDP and TCP
Application of UDP
CT047-3-2 Systems Programming and Computer Control Process to Process to delivery UDP and TCP
Note
Note:
CT047-3-2 Systems Programming and Computer Control Process to Process to delivery UDP and TCP
Transmission Control Protocol (TCP)
CT047-3-2 Systems Programming and Computer Control Process to Process to delivery UDP and TCP
Port Numbers
CT047-3-2 Systems Programming and Computer Control Process to Process to delivery UDP and TCP
Well-known ports used by TCP
Port Protocol Description
7 Echo Echoes a received datagram back to the sender
9 Discard Discards any datagram that is received
11 Users Active users
13 Daytime Returns the date and the time
17 Quote Returns a quote of the day
19 Chargen Returns a string of characters
20 FTP, Data File Transfer Protocol (data connection)
21 FTP, Control File Transfer Protocol (control connection)
23 TELNET Terminal Network
25 SMTP Simple Mail Transfer Protocol
53 DNS Domain Name Server
67 BOOTP Bootstrap Protocol
79 Finger Finger
80 HTTP Hypertext Transfer Protocol
111 RPC
CT047-3-2 Systems Programming and Computer Control
Remote Procedure Call
Process to Process to delivery UDP and TCP
Stream delivery
CT047-3-2 Systems Programming and Computer Control Process to Process to delivery UDP and TCP
Stream delivery
CT047-3-2 Systems Programming and Computer Control Process to Process to delivery UDP and TCP
Sending and receiving buffers
CT047-3-2 Systems Programming and Computer Control Process to Process to delivery UDP and TCP
Sending and receiving buffers
At the sending site, the buffer has three types of locations. The white section contains
empty locations that can be filled by the sending process.
The blue area hold bytes that have been sent but not yet acknowledged.
The bytes in blue locations area acknowledged, the location is recycled and available
for use by the sending process.
After both processes have no data left to send and the buffers are empty, the two
TCPs destroy their buffers.
CT047-3-2 Systems Programming and Computer Control Process to Process to delivery UDP and TCP
TCP segments
CT047-3-2 Systems Programming and Computer Control Process to Process to delivery UDP and TCP
TCP segments
There is no field for a segment number value. Instead, there are two field called
the sequence number and the acknowledgment number. These two fields refer
to the byte number, not the segment number.
CT047-3-2 Systems Programming and Computer Control Process to Process to delivery UDP and TCP
Note
Note:
CT047-3-2 Systems Programming and Computer Control Process to Process to delivery UDP and TCP
Note
Note:
CT047-3-2 Systems Programming and Computer Control Process to Process to delivery UDP and TCP
Note
Note:
CT047-3-2 Systems Programming and Computer Control Process to Process to delivery UDP and TCP
Header
CT047-3-2 Systems Programming and Computer Control Process to Process to delivery UDP and TCP
Header
CT047-3-2 Systems Programming and Computer Control Process to Process to delivery UDP and TCP
Question and Answer Session
Q&A
CT047-3-2 Systems Programming and Computer Control Process to Process to delivery UDP and TCP 56