10. Appplcation

10. Appplcation - 1 Distributed Applications Communication...

Info iconThis preview shows pages 1–12. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 1 Distributed Applications Communication Networks © Kang Xi, Polytechnic Institute of NYU 2 Distributed Applications ¡ Protocols from transport layer to physical layer provide end-to-end segment exchange ¡ The ultimate goal is to implement applications that require interactions of multiple independent hosts Communication Networks © Kang Xi, Polytechnic Institute of NYU 3 Architecture Term TCP, UDP IP LNK PHY Term TCP, UDP IP LNK PHY Communication Networks © Kang Xi, Polytechnic Institute of NYU 4 How to Build Applications over TCP? ¡ Use TCP as a pipe ¡ Access of remote data is not instant ¡ Send command, wait for response ¡ Command/Response leads to collaboration Communication Networks © Kang Xi, Polytechnic Institute of NYU 5 Typical Applications ¡ Telnet ¡ Email ¡ HTTP Communication Networks © Kang Xi, Polytechnic Institute of NYU 6 Telnet ¡ Reference RFC 854 ¡ Provide a network virtual terminal (NVT), working with NVT is like working at remote server Term TCP IP LNK PHY Server Process TCP IP LNK PHY NVT NVT Communication Networks © Kang Xi, Polytechnic Institute of NYU 7 The Protocol ¡ First developed in 1960s ¡ Bi-directional, 8-bit byte oriented communication ¡ Control and data over the same connection ¡ Negotiate options Communication Networks © Kang Xi, Polytechnic Institute of NYU 8 Control vs. Data ¡ Control commands are plain text ¡ A receiver must examine each byte to distinguish between commands and data ¡ Commands start with a special character: Interpret as Command (IAC) ¡ IAC: 255 ¡ Demo with Wireshark Communication Networks © Kang Xi, Polytechnic Institute of NYU 9 Properties ¡ Telnet is a generic TCP client ¡ Sends whatever you type to the server ¡ Displays whatever received from the connection ¡ Default port 23 ¡ Can be used to test other TCP servers ¢ Echo 7 ¢ Daytime 13 ¢ Chargen 19 Communication Networks © Kang Xi, Polytechnic Institute of NYU 10 SMTP ¡ Simple mail transfer protocol (SMTP) ¡ TCP/IP based ¡ Designed for simple text-based mail ¡ Based on Command/Response Communication Networks © Kang Xi, Polytechnic Institute of NYU 11 SMTP Concept SMTP Client SMTP Server Communication Networks...
View Full Document

This note was uploaded on 11/02/2010 for the course EE 136 taught by Professor Kang xi during the Spring '10 term at NYU Poly.

Page1 / 31

10. Appplcation - 1 Distributed Applications Communication...

This preview shows document pages 1 - 12. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online