Академический Документы
Профессиональный Документы
Культура Документы
EC 1762:
Data Communication and
Computer Networks
Data Communication,
Networks - Physical
Structures; different
topologies
1
2/5/2020
2
2/5/2020
3
2/5/2020
TCP-IP Networking
• End-to-End Node verification
• Dynamic routing
4
2/5/2020
7th
Application Layer
6th
Presentation Layer Application Layer
5th
Session Layer
4th
Transport Layer
Transport Layer
3rd
Network Layer
Network Layer
2nd
Link Layer
Link Layer
1st
Physical Layer
5
2/5/2020
HTTP, SMTP, …
TCP, UDP
IP
12
6
2/5/2020
TCP
Transmission Control Protocol
• TCP is an alternative transport layer
protocol over IP.
• TCP provides:
– Connection-oriented
– Reliable
– Full-duplex
– Byte-Stream
7
2/5/2020
Connection-Oriented
• Connection oriented means that a
virtual connection is established
before any user data is transferred.
• If the connection cannot be
established - the user program is
notified.
• If the connection is ever interrupted
- the user program(s) is notified.
Reliable
• Reliable means that every
transmission of data is
acknowledged by the receiver.
• If the sender does not receive
acknowledgement within a
specified amount of time, the
sender retransmits the data.
8
2/5/2020
Byte Stream
• Stream means that the connection is
treated as a stream of bytes.
Buffering
• TCP is responsible for buffering data
and determining when it is time to
send a datagram.
9
2/5/2020
Full Duplex
• TCP provides transfer in both directions.
TCP Ports
• Interprocess communication via TCP is
achieved with the use of ports (just
like UDP).
10
2/5/2020
Packet Encapsulation
The data is sent down the protocol stack
Each layer adds to the data by prepending headers
64 to 1500 Bytes
Addresses in TCP/IP
11
2/5/2020
Ref: https://www.youtube.com/watch?v=nomyRJehhnM
12
2/5/2020
Ref: https://www.youtube.com/watch?v=nomyRJehhnM
Ref: https://www.youtube.com/watch?v=nomyRJehhnM
13
2/5/2020
14
2/5/2020
15
2/5/2020
16
2/5/2020
17
2/5/2020
18
2/5/2020
19
2/5/2020
20