SlideShare a Scribd company logo
1 of 18
What is a protocol? 
• Protocol – An agreement about how to do 
something 
– This enables computers and software built by 
different people to be able to communicate in the 
same language 
• Examples that we have seen: 
– Hyper Text Transfer Protocol (HTTP) – Web Browser 
– File Transfer Protocol (FTP) – File transfer 
– Simple Mail Transfer Protocol (SMTP) – Email 
– Internet Protocol (IP) – Packets across the Internet
Human Protocols 
• Sending a letter via the postal service 
Contents! 
Shayne Evans 
5501 Sennott Sq. 
Pittsburgh, PA. 15260 
Kim Morrison 
123 Somewhere St. 
Someplace, PA. 15555
Computer Protocols 
• Sending a packet via the network 
To: 192.168.1.1 on port 23 
From: 192.168.1.110 on port 6710 
Payload: The contents of the message belong 
here.
Visual Comparison 
Contents!!! 
To: 192.168.1.1 on port 23 
From: 192.168.1.110 on port 6710 
Payload: The contents of the 
message belong here. 
Shayne Evans 
5501 Sennott Sq. 
Pittsburgh, PA. 15260 
Contents! 
Kim Morrison 
123 Somewhere St. 
Someplace, PA. 15555
Textual Comparison 
• The address of the letter is the destination 
of the packet 
• The return address of the letter is the 
source of the packet 
• The content of the envelope is the payload 
of the packet 
• In both protocols, if you disobey the rules 
your message will not be received 
Protocol Layers 
• Protocols can be layered on top of other 
protocols to enable new ways of 
communicating
Example: Writing a letter 
• A common protocol that is followed when 
writing a letter is: 
[Date] 
Dear [Recipient], 
[Body of message goes here] 
[Closing] 
[Sender signature] 
[Sender name]
Example: Writing a letter 
• A common protocol that is followed when 
writing a letter is: 
04/01/2008 
Dear Kim, 
Hey there! What’s up? I’m good. Thanks. 
Sincerely, 
Shayne Evans 
Shayne Evans
Example: Writing a Letter 
• After following the protocol for writing a 
letter, I can use the protocol for sending a 
letter via the postal service: 
04/01/2008 
Shayne Evans 
5501 Sennott Sq. 
Pittsburgh, PA. 15260 
Dear Kim, 
Hey there! Kim What’s Morrison 
up? I’m good. Thanks. 
123 Somewhere St. 
Sincerely, 
Someplace, PA. 15555 
Shayne Evans 
Shayne Evans
Example: Writing a letter 
• Thus, I have layered two protocols on top 
of each other. 
Letter Writing Protocol 
Sending a Letter via USPS Protocol 
• The lower protocol provides a service 
used by the higher protocols.
Protocol Layering: 
The Internet is build this way 
• Internet Protocol (IP) provides a way to 
deliver packets to a destination 
SSH, FTP, HTTP, SMTP 
TCP 
DNS, VoIP 
Internet Protocol 
UDP
Protocol Layering: 
The Internet is build this way 
• TCP uses packets to maintain 
connections” across a network, and thus is 
layered above IP 
SSH, FTP, HTTP, SMTP 
TCP 
DNS, VoIP 
Internet Protocol 
UDP
Protocol Layering: 
The Internet is build this way 
• UDP just sends or receives raw packets 
with a best-effort approach, also layered 
above IP 
SSH, FTP, HTTP, SMTP 
TCP 
DNS, VoIP 
Internet Protocol 
UDP
Protocol Layering: 
The Internet is build this way 
• SSH, FTP, HTTP, SMTP and many more 
applications use TCP connections to 
communicate data back and forth 
SSH, FTP, HTTP, SMTP 
TCP 
DNS, VoIP 
Internet Protocol 
UDP
Protocol Layering: 
The Internet is build this way 
• DNS, VoIP, and many more applications 
use UDP packets to communicate data 
SSH, FTP, HTTP, SMTP 
TCP 
DNS, VoIP 
Internet Protocol 
UDP
The Internet is built this way 
• The Internet Protocol is near the bottom 
layer 
– It provides the rules for forming packets and 
passing them to their destination 
• Above that are the TCP / UPD protocols 
• Above that are the HTTP/FTP/SSH/SMTP 
protocols
Protocol Layers 
• Thus we have the following protocol 
layers: 
Reversing Messages Protocol 
Letter Writing Protocol 
Postal Service Protocol
Computer Communication Protocol 
Layers 
• Here are some common protocols found 
on the Internet and how they are layered: 
HTTP, FTP, IMAP, DNS 
Protocols 
TCP and UDP 
Protocols 
Internet Protocol 
Application Layer 
Transport Layer 
Network Layer 
[Hardware Stuff] Data link and Physical Layers

More Related Content

What's hot

HyperText Transfer Protocol (HTTP)
HyperText Transfer Protocol (HTTP)HyperText Transfer Protocol (HTTP)
HyperText Transfer Protocol (HTTP)Gurjot Singh
 
File transfer protocol
File transfer protocolFile transfer protocol
File transfer protocolVipin Rai
 
File Transfer Protocol(FTP)
File Transfer Protocol(FTP)File Transfer Protocol(FTP)
File Transfer Protocol(FTP)Varnit Yadav
 
Understanding the Web through HTTP
Understanding the Web through HTTPUnderstanding the Web through HTTP
Understanding the Web through HTTPOlivia Brundage
 
How To Set Up A Web Server
How To Set Up A Web ServerHow To Set Up A Web Server
How To Set Up A Web Server100633157
 
Application layer and protocols of application layer
Application layer and protocols of application layerApplication layer and protocols of application layer
Application layer and protocols of application layerTahmina Shopna
 
Hypertext Transfer Protocol
Hypertext Transfer ProtocolHypertext Transfer Protocol
Hypertext Transfer ProtocolRajan Pandey
 
An Introduction To World Wide Web
An Introduction To World Wide WebAn Introduction To World Wide Web
An Introduction To World Wide WebAbhishek Kharbanda
 
Http basics by-joshi_29_4_15-ppt
Http basics by-joshi_29_4_15-pptHttp basics by-joshi_29_4_15-ppt
Http basics by-joshi_29_4_15-pptQwinix Technologies
 
HTTP Protocol Basic
HTTP Protocol BasicHTTP Protocol Basic
HTTP Protocol BasicChuong Mai
 
Http - All you need to know
Http - All you need to knowHttp - All you need to know
Http - All you need to knowGökhan Şengün
 
Hypertexttransferprotocolhttp 131012171813-phpapp02
Hypertexttransferprotocolhttp 131012171813-phpapp02Hypertexttransferprotocolhttp 131012171813-phpapp02
Hypertexttransferprotocolhttp 131012171813-phpapp02Nidhitransport
 

What's hot (20)

HTTP Presentation
HTTP Presentation HTTP Presentation
HTTP Presentation
 
HyperText Transfer Protocol (HTTP)
HyperText Transfer Protocol (HTTP)HyperText Transfer Protocol (HTTP)
HyperText Transfer Protocol (HTTP)
 
FTP
FTPFTP
FTP
 
File transfer protocol
File transfer protocolFile transfer protocol
File transfer protocol
 
File Transfer Protocol(FTP)
File Transfer Protocol(FTP)File Transfer Protocol(FTP)
File Transfer Protocol(FTP)
 
FTP
FTPFTP
FTP
 
Understanding the Web through HTTP
Understanding the Web through HTTPUnderstanding the Web through HTTP
Understanding the Web through HTTP
 
How To Set Up A Web Server
How To Set Up A Web ServerHow To Set Up A Web Server
How To Set Up A Web Server
 
Web admin
Web adminWeb admin
Web admin
 
HTTP
HTTPHTTP
HTTP
 
Application layer and protocols of application layer
Application layer and protocols of application layerApplication layer and protocols of application layer
Application layer and protocols of application layer
 
Sem 1 Ch 11
Sem 1 Ch 11Sem 1 Ch 11
Sem 1 Ch 11
 
HTTP
HTTPHTTP
HTTP
 
Hypertext Transfer Protocol
Hypertext Transfer ProtocolHypertext Transfer Protocol
Hypertext Transfer Protocol
 
An Introduction To World Wide Web
An Introduction To World Wide WebAn Introduction To World Wide Web
An Introduction To World Wide Web
 
DNS & HTTP overview
DNS & HTTP overviewDNS & HTTP overview
DNS & HTTP overview
 
Http basics by-joshi_29_4_15-ppt
Http basics by-joshi_29_4_15-pptHttp basics by-joshi_29_4_15-ppt
Http basics by-joshi_29_4_15-ppt
 
HTTP Protocol Basic
HTTP Protocol BasicHTTP Protocol Basic
HTTP Protocol Basic
 
Http - All you need to know
Http - All you need to knowHttp - All you need to know
Http - All you need to know
 
Hypertexttransferprotocolhttp 131012171813-phpapp02
Hypertexttransferprotocolhttp 131012171813-phpapp02Hypertexttransferprotocolhttp 131012171813-phpapp02
Hypertexttransferprotocolhttp 131012171813-phpapp02
 

Similar to Protocols

CS-324-6-3 (1).pdf
CS-324-6-3 (1).pdfCS-324-6-3 (1).pdf
CS-324-6-3 (1).pdfRizulthakur2
 
CS-324-6-3 (2).pdf
CS-324-6-3 (2).pdfCS-324-6-3 (2).pdf
CS-324-6-3 (2).pdfRizulthakur2
 
Internet tools and services
Internet tools and servicesInternet tools and services
Internet tools and serviceslearnt
 
Remote Login and File Transfer Protocols
Remote Login and File Transfer ProtocolsRemote Login and File Transfer Protocols
Remote Login and File Transfer ProtocolsHimanshu Pathak
 
Information on protocols-email protocols
Information on protocols-email protocolsInformation on protocols-email protocols
Information on protocols-email protocolsPriyanka Shinde
 
Application layer protocols
Application layer protocolsApplication layer protocols
Application layer protocolsFabMinds
 
Review of TCP- IP CS105 Norwalk CC
Review of TCP- IP CS105 Norwalk CCReview of TCP- IP CS105 Norwalk CC
Review of TCP- IP CS105 Norwalk CCArthur Landry
 
Computer Networks Module 1-part 1.pdf
Computer Networks Module 1-part 1.pdfComputer Networks Module 1-part 1.pdf
Computer Networks Module 1-part 1.pdfShanthalaKV
 
Web technologies-course 01.pptx
Web technologies-course 01.pptxWeb technologies-course 01.pptx
Web technologies-course 01.pptxStefan Oprea
 
Introduction to internet
Introduction to internetIntroduction to internet
Introduction to internetHimanshu Pathak
 
The Internet protocol suite, commonly known as TCP/IP, is a framework for org...
The Internet protocol suite, commonly known as TCP/IP, is a framework for org...The Internet protocol suite, commonly known as TCP/IP, is a framework for org...
The Internet protocol suite, commonly known as TCP/IP, is a framework for org...MathivananP4
 
Intro. to the internet and web
Intro. to the internet and webIntro. to the internet and web
Intro. to the internet and webdofirfauzi1302
 

Similar to Protocols (20)

The Internet
The InternetThe Internet
The Internet
 
CS-324-6-3 (1).pdf
CS-324-6-3 (1).pdfCS-324-6-3 (1).pdf
CS-324-6-3 (1).pdf
 
CS-324-6-3 (2).pdf
CS-324-6-3 (2).pdfCS-324-6-3 (2).pdf
CS-324-6-3 (2).pdf
 
Internet tools and services
Internet tools and servicesInternet tools and services
Internet tools and services
 
Network Protocols
Network ProtocolsNetwork Protocols
Network Protocols
 
Remote Login and File Transfer Protocols
Remote Login and File Transfer ProtocolsRemote Login and File Transfer Protocols
Remote Login and File Transfer Protocols
 
Information on protocols-email protocols
Information on protocols-email protocolsInformation on protocols-email protocols
Information on protocols-email protocols
 
Networking basics PPT
Networking basics PPTNetworking basics PPT
Networking basics PPT
 
Application layer protocols
Application layer protocolsApplication layer protocols
Application layer protocols
 
The HTTP and Web
The HTTP and Web The HTTP and Web
The HTTP and Web
 
protocols (1).pptx
protocols (1).pptxprotocols (1).pptx
protocols (1).pptx
 
TCP/IP
TCP/IPTCP/IP
TCP/IP
 
Http Introduction
Http IntroductionHttp Introduction
Http Introduction
 
Review of TCP- IP CS105 Norwalk CC
Review of TCP- IP CS105 Norwalk CCReview of TCP- IP CS105 Norwalk CC
Review of TCP- IP CS105 Norwalk CC
 
Computer Networks Module 1-part 1.pdf
Computer Networks Module 1-part 1.pdfComputer Networks Module 1-part 1.pdf
Computer Networks Module 1-part 1.pdf
 
Web technologies-course 01.pptx
Web technologies-course 01.pptxWeb technologies-course 01.pptx
Web technologies-course 01.pptx
 
Introduction to internet
Introduction to internetIntroduction to internet
Introduction to internet
 
The Internet protocol suite, commonly known as TCP/IP, is a framework for org...
The Internet protocol suite, commonly known as TCP/IP, is a framework for org...The Internet protocol suite, commonly known as TCP/IP, is a framework for org...
The Internet protocol suite, commonly known as TCP/IP, is a framework for org...
 
15 Application layer.pptx
15 Application layer.pptx15 Application layer.pptx
15 Application layer.pptx
 
Intro. to the internet and web
Intro. to the internet and webIntro. to the internet and web
Intro. to the internet and web
 

Recently uploaded

The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptxPoojaSen20
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfUmakantAnnand
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 

Recently uploaded (20)

The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptx
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 

Protocols

  • 1. What is a protocol? • Protocol – An agreement about how to do something – This enables computers and software built by different people to be able to communicate in the same language • Examples that we have seen: – Hyper Text Transfer Protocol (HTTP) – Web Browser – File Transfer Protocol (FTP) – File transfer – Simple Mail Transfer Protocol (SMTP) – Email – Internet Protocol (IP) – Packets across the Internet
  • 2. Human Protocols • Sending a letter via the postal service Contents! Shayne Evans 5501 Sennott Sq. Pittsburgh, PA. 15260 Kim Morrison 123 Somewhere St. Someplace, PA. 15555
  • 3. Computer Protocols • Sending a packet via the network To: 192.168.1.1 on port 23 From: 192.168.1.110 on port 6710 Payload: The contents of the message belong here.
  • 4. Visual Comparison Contents!!! To: 192.168.1.1 on port 23 From: 192.168.1.110 on port 6710 Payload: The contents of the message belong here. Shayne Evans 5501 Sennott Sq. Pittsburgh, PA. 15260 Contents! Kim Morrison 123 Somewhere St. Someplace, PA. 15555
  • 5. Textual Comparison • The address of the letter is the destination of the packet • The return address of the letter is the source of the packet • The content of the envelope is the payload of the packet • In both protocols, if you disobey the rules your message will not be received 
  • 6. Protocol Layers • Protocols can be layered on top of other protocols to enable new ways of communicating
  • 7. Example: Writing a letter • A common protocol that is followed when writing a letter is: [Date] Dear [Recipient], [Body of message goes here] [Closing] [Sender signature] [Sender name]
  • 8. Example: Writing a letter • A common protocol that is followed when writing a letter is: 04/01/2008 Dear Kim, Hey there! What’s up? I’m good. Thanks. Sincerely, Shayne Evans Shayne Evans
  • 9. Example: Writing a Letter • After following the protocol for writing a letter, I can use the protocol for sending a letter via the postal service: 04/01/2008 Shayne Evans 5501 Sennott Sq. Pittsburgh, PA. 15260 Dear Kim, Hey there! Kim What’s Morrison up? I’m good. Thanks. 123 Somewhere St. Sincerely, Someplace, PA. 15555 Shayne Evans Shayne Evans
  • 10. Example: Writing a letter • Thus, I have layered two protocols on top of each other. Letter Writing Protocol Sending a Letter via USPS Protocol • The lower protocol provides a service used by the higher protocols.
  • 11. Protocol Layering: The Internet is build this way • Internet Protocol (IP) provides a way to deliver packets to a destination SSH, FTP, HTTP, SMTP TCP DNS, VoIP Internet Protocol UDP
  • 12. Protocol Layering: The Internet is build this way • TCP uses packets to maintain connections” across a network, and thus is layered above IP SSH, FTP, HTTP, SMTP TCP DNS, VoIP Internet Protocol UDP
  • 13. Protocol Layering: The Internet is build this way • UDP just sends or receives raw packets with a best-effort approach, also layered above IP SSH, FTP, HTTP, SMTP TCP DNS, VoIP Internet Protocol UDP
  • 14. Protocol Layering: The Internet is build this way • SSH, FTP, HTTP, SMTP and many more applications use TCP connections to communicate data back and forth SSH, FTP, HTTP, SMTP TCP DNS, VoIP Internet Protocol UDP
  • 15. Protocol Layering: The Internet is build this way • DNS, VoIP, and many more applications use UDP packets to communicate data SSH, FTP, HTTP, SMTP TCP DNS, VoIP Internet Protocol UDP
  • 16. The Internet is built this way • The Internet Protocol is near the bottom layer – It provides the rules for forming packets and passing them to their destination • Above that are the TCP / UPD protocols • Above that are the HTTP/FTP/SSH/SMTP protocols
  • 17. Protocol Layers • Thus we have the following protocol layers: Reversing Messages Protocol Letter Writing Protocol Postal Service Protocol
  • 18. Computer Communication Protocol Layers • Here are some common protocols found on the Internet and how they are layered: HTTP, FTP, IMAP, DNS Protocols TCP and UDP Protocols Internet Protocol Application Layer Transport Layer Network Layer [Hardware Stuff] Data link and Physical Layers