SlideShare a Scribd company logo
1 of 21
http & smtp
SUBJECT: DATA COMMUNICATION NETWORK (2720507)
Submitted by: guided by:
Talsaniya bhargavi a(150050705007) PROF.TWINKLE DOSHI
THAKOR JAYDEEP (150050705008) HOD EC Dept
Communication system eng. Bits,varnama,vadodara
Bits,varnama,Vadodara
OUTLINE
 What is a protocol ?
 HTTP:
 OVERVIEW
HTTP CONVERSATION
EXAMPLE
 SMTP
OVERVIEW
COMMAND AND RESPONSES
MAIL TRANSFER PHASE
2
What is a protocol?
 In diplomatic circles, a protocol is the set of rules
governing a conversation between people
 We have seen that the client and server carry on a
machine-to-machine conversation
 A network protocol is the set of rules governing a
conversation between a client and a server
 There are many protocols, HTTP ,SMTP are from it
Many application layer protocols are used on
the Internet, From Which
Protocol Application
HTTP: Hypertext Transfer Retrieve and view Web pages
SMTP: Simple Mail Transport Send email
 I would like to open a
connection
 GET <file location>
 Display response
 Close connection
 OK
 Send page or error message
 OK
Client Server
HTTP is the set of rules governing the format and content of the
conversation between a Web client and server
An HTTP conversation
HTTP :
an application layer protocol
 The Web client and the Web server are application programs
 Application layer programs do useful work like retrieving Web pages, sending
and receiving email or transferring files
 Lower layers take care of the communication details
 The client and server send messages and data without knowing anything
about the communication network
The application layer is boss – the top layer
Layer Function
Application Do useful work like Web browsing, email, and file
transfer
Lower layers Handle communication between the client and server
 Your boss says: Send this package to Miami -- I don't care if you use Federal
Express, UPS, or any other means. Also, let me know when it arrives or if it cannot
be delivered for some reason.
 The application program says: Send this request to the server -- I don't care how
you do it or whether it goes over phone lines, radio, or anything else about the
details. Just send the message, and let me know when it arrives or if it cannot be
delivered for some reason.
There are five TCP/IP layers, the application layer and four lower layers.
An HTTP example
The message requesting a Web page must begin with the work “GET”
and be followed by a space and the location of a file on the server,
like this:
GET /fac/lpress/shortbio.htm
The protocol spells out the exact message format, so any Web
client can retrieve pages from any Web server.
The TCP/IP protocol layers
Application
Transport
Internet
Data link
Physical
Get useful work done – retrieve Web pages, copy files,
send and receive email, etc.
Make client-server connections and optionally control
transmission speed, check for errors, etc.
Route packets between networks
Route data packets within the local area network
Specify what medium connects two nodes, how binary
ones and zeros are differentiated, etc,
The application program is king – it gets work done using the lower level layers
for communication between the client and server.
SMTP: Simple Mail Transfer Protocol
• Simple Mail Transfer Protocol (SMTP) is a standard set of rules and
procedures by which messages can be transferred over the Internet. is
used by Mail Servers to send messages back and forth to other Mail
Servers or Email Clients.
• List of SMTP commands:
HELO
RCPT TO
MAIL FROM
DATA
QUIT
MESSAGE TRANSFER AGENT:SMTP
The actual mail transfer requires message transfer agents (MTAs).
The protocol that defines the MTA client and server in the Internet
is called Simple Mail Transfer Protocol (SMTP).
SMTP range
Commands and responses
Command format
Commands
TCP/IP Protocol Suite 16
Responses
Responses (Continued)
TCP/IP Protocol Suite 18
Connection establishment
TCP/IP Protocol Suite 19
Message transfer
Connection termination
21

More Related Content

What's hot (20)

Simple Mail Transfer Protocol
Simple Mail Transfer ProtocolSimple Mail Transfer Protocol
Simple Mail Transfer Protocol
 
Simple Mail Transfer Protocol
Simple Mail Transfer ProtocolSimple Mail Transfer Protocol
Simple Mail Transfer Protocol
 
Simple Mail Transfer Protocol
Simple Mail Transfer ProtocolSimple Mail Transfer Protocol
Simple Mail Transfer Protocol
 
POP3 Post Office Protocol
POP3 Post Office ProtocolPOP3 Post Office Protocol
POP3 Post Office Protocol
 
Smtp
SmtpSmtp
Smtp
 
Application layer protocol
Application layer protocolApplication layer protocol
Application layer protocol
 
Ccna1v3 mod11
Ccna1v3 mod11Ccna1v3 mod11
Ccna1v3 mod11
 
POP (Post Office Protocol )
POP (Post Office Protocol )POP (Post Office Protocol )
POP (Post Office Protocol )
 
Smtp protocol
Smtp protocolSmtp protocol
Smtp protocol
 
Simple Mail Transfer Protocol
Simple Mail Transfer ProtocolSimple Mail Transfer Protocol
Simple Mail Transfer Protocol
 
E mail flow
E mail flowE mail flow
E mail flow
 
Smtp
SmtpSmtp
Smtp
 
retrieving the mail
retrieving the mailretrieving the mail
retrieving the mail
 
E mail protocols
E mail protocolsE mail protocols
E mail protocols
 
Homework
HomeworkHomework
Homework
 
Group20 Dynamic Networks
Group20 Dynamic NetworksGroup20 Dynamic Networks
Group20 Dynamic Networks
 
Sem 1 Ch 11
Sem 1 Ch 11Sem 1 Ch 11
Sem 1 Ch 11
 
Introduction to telnet
Introduction to telnetIntroduction to telnet
Introduction to telnet
 
E mail protocol - SMTP
E mail protocol - SMTPE mail protocol - SMTP
E mail protocol - SMTP
 
Email server system1.ppt
Email server system1.pptEmail server system1.ppt
Email server system1.ppt
 

Viewers also liked

Auto Enrolment Seminar
Auto Enrolment SeminarAuto Enrolment Seminar
Auto Enrolment Seminarttrbarnes
 
Eka Yulia Ningsih
Eka Yulia NingsihEka Yulia Ningsih
Eka Yulia NingsihEkaaayulia
 
Longitudinal promotion mentoring program module
Longitudinal promotion mentoring program moduleLongitudinal promotion mentoring program module
Longitudinal promotion mentoring program moduleCU Family Medicine
 
Cash and Change Supply: Prosegur's Cash Order
Cash and Change Supply: Prosegur's Cash OrderCash and Change Supply: Prosegur's Cash Order
Cash and Change Supply: Prosegur's Cash OrderProsegur in Australia
 
Media organizations
Media organizationsMedia organizations
Media organizationsmaxbeavis99
 
Drive Side Sealing Options
Drive Side Sealing Options Drive Side Sealing Options
Drive Side Sealing Options Robert Antion
 
Dont judge challenge gone wrong
Dont judge challenge gone wrongDont judge challenge gone wrong
Dont judge challenge gone wrongdavidmubarak11
 
Franz lizst, Claude Debussy, Johann Pachelbel
Franz lizst, Claude Debussy, Johann PachelbelFranz lizst, Claude Debussy, Johann Pachelbel
Franz lizst, Claude Debussy, Johann Pachelbelpjredulla
 
GOA indian wedding divya and ashank draft2
GOA indian wedding divya and ashank draft2GOA indian wedding divya and ashank draft2
GOA indian wedding divya and ashank draft2hemal vadhiya
 
Metodo Cientifico
Metodo Cientifico Metodo Cientifico
Metodo Cientifico Carlos GC
 
10 trik rahasia google search yang bikin browsing makin seru
10 trik rahasia google search yang bikin browsing makin seru10 trik rahasia google search yang bikin browsing makin seru
10 trik rahasia google search yang bikin browsing makin seruWildan Wafiyudin
 
Fashion through years
Fashion through yearsFashion through years
Fashion through yearsPalak Chhabra
 

Viewers also liked (20)

Auto Enrolment Seminar
Auto Enrolment SeminarAuto Enrolment Seminar
Auto Enrolment Seminar
 
Eka Yulia Ningsih
Eka Yulia NingsihEka Yulia Ningsih
Eka Yulia Ningsih
 
CV_RMLampayan_May 19, 2016
CV_RMLampayan_May 19, 2016CV_RMLampayan_May 19, 2016
CV_RMLampayan_May 19, 2016
 
Longitudinal promotion mentoring program module
Longitudinal promotion mentoring program moduleLongitudinal promotion mentoring program module
Longitudinal promotion mentoring program module
 
Cash and Change Supply: Prosegur's Cash Order
Cash and Change Supply: Prosegur's Cash OrderCash and Change Supply: Prosegur's Cash Order
Cash and Change Supply: Prosegur's Cash Order
 
JennResume
JennResumeJennResume
JennResume
 
Media organizations
Media organizationsMedia organizations
Media organizations
 
Drive Side Sealing Options
Drive Side Sealing Options Drive Side Sealing Options
Drive Side Sealing Options
 
Dont judge challenge gone wrong
Dont judge challenge gone wrongDont judge challenge gone wrong
Dont judge challenge gone wrong
 
About Me
About MeAbout Me
About Me
 
Franz lizst, Claude Debussy, Johann Pachelbel
Franz lizst, Claude Debussy, Johann PachelbelFranz lizst, Claude Debussy, Johann Pachelbel
Franz lizst, Claude Debussy, Johann Pachelbel
 
GOA indian wedding divya and ashank draft2
GOA indian wedding divya and ashank draft2GOA indian wedding divya and ashank draft2
GOA indian wedding divya and ashank draft2
 
Color schemes pdf
Color schemes pdfColor schemes pdf
Color schemes pdf
 
Termokimia
TermokimiaTermokimia
Termokimia
 
Metodo Cientifico
Metodo Cientifico Metodo Cientifico
Metodo Cientifico
 
Part 3
Part 3Part 3
Part 3
 
Chanel
ChanelChanel
Chanel
 
10 trik rahasia google search yang bikin browsing makin seru
10 trik rahasia google search yang bikin browsing makin seru10 trik rahasia google search yang bikin browsing makin seru
10 trik rahasia google search yang bikin browsing makin seru
 
Fashion through years
Fashion through yearsFashion through years
Fashion through years
 
Mhd-Sino-englash.L
Mhd-Sino-englash.LMhd-Sino-englash.L
Mhd-Sino-englash.L
 

Similar to Dcn ppt 150050705008

File transfer protocol- Gowdham
File transfer protocol- GowdhamFile transfer protocol- Gowdham
File transfer protocol- GowdhamGowdham P
 
Web Programming: Basics of Internet and Introduction to HTML5 and CSS
Web Programming: Basics of Internet and Introduction to HTML5 and CSSWeb Programming: Basics of Internet and Introduction to HTML5 and CSS
Web Programming: Basics of Internet and Introduction to HTML5 and CSSKajal Singh
 
12 coms 525 tcpip - applications - http - telnet
12   coms 525 tcpip - applications - http - telnet12   coms 525 tcpip - applications - http - telnet
12 coms 525 tcpip - applications - http - telnetPalanivel Kuppusamy
 
Hypertext Transfer Protocol
Hypertext Transfer ProtocolHypertext Transfer Protocol
Hypertext Transfer ProtocolRajan Pandey
 
Ch4 Protocols.pptx
Ch4 Protocols.pptxCh4 Protocols.pptx
Ch4 Protocols.pptxazmerawAnna1
 
application layer protocol for iot.pptx
application layer protocol for iot.pptxapplication layer protocol for iot.pptx
application layer protocol for iot.pptxaravind Guru
 
02-ProtocolArchitecture.pdf
02-ProtocolArchitecture.pdf02-ProtocolArchitecture.pdf
02-ProtocolArchitecture.pdfMiftaNurFarid2
 
Protocols in computer network
Protocols in computer network   Protocols in computer network
Protocols in computer network priya sehgal
 
internet programming and java notes 5th sem mca
internet programming and java notes 5th sem mcainternet programming and java notes 5th sem mca
internet programming and java notes 5th sem mcaRenu Thakur
 
HTTPProtocol HTTPProtocol.pptHTTPProtocol.ppt
HTTPProtocol HTTPProtocol.pptHTTPProtocol.pptHTTPProtocol HTTPProtocol.pptHTTPProtocol.ppt
HTTPProtocol HTTPProtocol.pptHTTPProtocol.pptVietAnhNguyen337355
 

Similar to Dcn ppt 150050705008 (20)

An Introduction to HTTP
An Introduction to HTTPAn Introduction to HTTP
An Introduction to HTTP
 
The HTTP and Web
The HTTP and Web The HTTP and Web
The HTTP and Web
 
File transfer protocol- Gowdham
File transfer protocol- GowdhamFile transfer protocol- Gowdham
File transfer protocol- Gowdham
 
Web Programming: Basics of Internet and Introduction to HTML5 and CSS
Web Programming: Basics of Internet and Introduction to HTML5 and CSSWeb Programming: Basics of Internet and Introduction to HTML5 and CSS
Web Programming: Basics of Internet and Introduction to HTML5 and CSS
 
12 coms 525 tcpip - applications - http - telnet
12   coms 525 tcpip - applications - http - telnet12   coms 525 tcpip - applications - http - telnet
12 coms 525 tcpip - applications - http - telnet
 
CN UNIT V.pptx
CN UNIT V.pptxCN UNIT V.pptx
CN UNIT V.pptx
 
Application layer protocols
Application layer protocolsApplication layer protocols
Application layer protocols
 
Hypertext Transfer Protocol
Hypertext Transfer ProtocolHypertext Transfer Protocol
Hypertext Transfer Protocol
 
application layer
application layerapplication layer
application layer
 
Http
HttpHttp
Http
 
Protocols
ProtocolsProtocols
Protocols
 
Ch4 Protocols.pptx
Ch4 Protocols.pptxCh4 Protocols.pptx
Ch4 Protocols.pptx
 
15 Application layer.pptx
15 Application layer.pptx15 Application layer.pptx
15 Application layer.pptx
 
application layer protocol for iot.pptx
application layer protocol for iot.pptxapplication layer protocol for iot.pptx
application layer protocol for iot.pptx
 
Application Layer
Application Layer Application Layer
Application Layer
 
02-ProtocolArchitecture.pdf
02-ProtocolArchitecture.pdf02-ProtocolArchitecture.pdf
02-ProtocolArchitecture.pdf
 
Protocols in computer network
Protocols in computer network   Protocols in computer network
Protocols in computer network
 
internet programming and java notes 5th sem mca
internet programming and java notes 5th sem mcainternet programming and java notes 5th sem mca
internet programming and java notes 5th sem mca
 
02 protocol architecture
02 protocol architecture02 protocol architecture
02 protocol architecture
 
HTTPProtocol HTTPProtocol.pptHTTPProtocol.ppt
HTTPProtocol HTTPProtocol.pptHTTPProtocol.pptHTTPProtocol HTTPProtocol.pptHTTPProtocol.ppt
HTTPProtocol HTTPProtocol.pptHTTPProtocol.ppt
 

Recently uploaded

Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvLewisJB
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 
Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .Satyam Kumar
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...asadnawaz62
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxDeepakSakkari2
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxPoojaBan
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxbritheesh05
 
An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...Chandu841456
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxk795866
 
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor CatchersTechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catcherssdickerson1
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx959SahilShah
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...srsj9000
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)Dr SOUNDIRARAJ N
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfAsst.prof M.Gokilavani
 

Recently uploaded (20)

Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvv
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 
young call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Serviceyoung call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Service
 
Design and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdfDesign and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdf
 
Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .
 
POWER SYSTEMS-1 Complete notes examples
POWER SYSTEMS-1 Complete notes  examplesPOWER SYSTEMS-1 Complete notes  examples
POWER SYSTEMS-1 Complete notes examples
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptx
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptx
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptx
 
An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptx
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor CatchersTechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
 

Dcn ppt 150050705008

  • 1. http & smtp SUBJECT: DATA COMMUNICATION NETWORK (2720507) Submitted by: guided by: Talsaniya bhargavi a(150050705007) PROF.TWINKLE DOSHI THAKOR JAYDEEP (150050705008) HOD EC Dept Communication system eng. Bits,varnama,vadodara Bits,varnama,Vadodara
  • 2. OUTLINE  What is a protocol ?  HTTP:  OVERVIEW HTTP CONVERSATION EXAMPLE  SMTP OVERVIEW COMMAND AND RESPONSES MAIL TRANSFER PHASE 2
  • 3. What is a protocol?  In diplomatic circles, a protocol is the set of rules governing a conversation between people  We have seen that the client and server carry on a machine-to-machine conversation  A network protocol is the set of rules governing a conversation between a client and a server  There are many protocols, HTTP ,SMTP are from it
  • 4. Many application layer protocols are used on the Internet, From Which Protocol Application HTTP: Hypertext Transfer Retrieve and view Web pages SMTP: Simple Mail Transport Send email
  • 5.  I would like to open a connection  GET <file location>  Display response  Close connection  OK  Send page or error message  OK Client Server HTTP is the set of rules governing the format and content of the conversation between a Web client and server An HTTP conversation
  • 6. HTTP : an application layer protocol  The Web client and the Web server are application programs  Application layer programs do useful work like retrieving Web pages, sending and receiving email or transferring files  Lower layers take care of the communication details  The client and server send messages and data without knowing anything about the communication network
  • 7. The application layer is boss – the top layer Layer Function Application Do useful work like Web browsing, email, and file transfer Lower layers Handle communication between the client and server  Your boss says: Send this package to Miami -- I don't care if you use Federal Express, UPS, or any other means. Also, let me know when it arrives or if it cannot be delivered for some reason.  The application program says: Send this request to the server -- I don't care how you do it or whether it goes over phone lines, radio, or anything else about the details. Just send the message, and let me know when it arrives or if it cannot be delivered for some reason. There are five TCP/IP layers, the application layer and four lower layers.
  • 8. An HTTP example The message requesting a Web page must begin with the work “GET” and be followed by a space and the location of a file on the server, like this: GET /fac/lpress/shortbio.htm The protocol spells out the exact message format, so any Web client can retrieve pages from any Web server.
  • 9. The TCP/IP protocol layers Application Transport Internet Data link Physical Get useful work done – retrieve Web pages, copy files, send and receive email, etc. Make client-server connections and optionally control transmission speed, check for errors, etc. Route packets between networks Route data packets within the local area network Specify what medium connects two nodes, how binary ones and zeros are differentiated, etc, The application program is king – it gets work done using the lower level layers for communication between the client and server.
  • 10. SMTP: Simple Mail Transfer Protocol • Simple Mail Transfer Protocol (SMTP) is a standard set of rules and procedures by which messages can be transferred over the Internet. is used by Mail Servers to send messages back and forth to other Mail Servers or Email Clients. • List of SMTP commands: HELO RCPT TO MAIL FROM DATA QUIT
  • 11. MESSAGE TRANSFER AGENT:SMTP The actual mail transfer requires message transfer agents (MTAs). The protocol that defines the MTA client and server in the Internet is called Simple Mail Transfer Protocol (SMTP).
  • 16. TCP/IP Protocol Suite 16 Responses
  • 18. TCP/IP Protocol Suite 18 Connection establishment
  • 19. TCP/IP Protocol Suite 19 Message transfer
  • 21. 21