10a network applications

14
Network Applications 2010S3 - 2011/12 Gihan Dias CS2032

Upload: jagath-dissanayaka

Post on 05-Apr-2018

217 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 10a Network Applications

8/2/2019 10a Network Applications

http://slidepdf.com/reader/full/10a-network-applications 1/14

Network Applications

2010S3 - 2011/12

Gihan Dias

CS2032

Page 2: 10a Network Applications

8/2/2019 10a Network Applications

http://slidepdf.com/reader/full/10a-network-applications 2/14

Network Applications

World-Wide Web

 – Facebook

 – Googledocs

 – YouTube

 – Games

Skype, videoconferencing

BitTorrent

Remote Files

Remote Deskto

Page 3: 10a Network Applications

8/2/2019 10a Network Applications

http://slidepdf.com/reader/full/10a-network-applications 3/14

Why Internet Applications?

Without applications, Internet (or anyother network) would be useless

Page 4: 10a Network Applications

8/2/2019 10a Network Applications

http://slidepdf.com/reader/full/10a-network-applications 4/14

Application

Transport

Network

Data Link

Physical

2

1

3

4

7

Internet Application

App. Layer in Internet Stack 

Page 5: 10a Network Applications

8/2/2019 10a Network Applications

http://slidepdf.com/reader/full/10a-network-applications 5/14

Internet Applications Layer

Model Application talks directly to the transport layer

(TCP or UDP)

Application Layer defined as a protocol – both sides must implement the protocol

APIs usually not defined by IETF

Third-party APIs available – C, Java, VB, XML, etc.

Generally use the client-server model

Page 6: 10a Network Applications

8/2/2019 10a Network Applications

http://slidepdf.com/reader/full/10a-network-applications 6/14

Client-Server Model

Some Internet hosts provide a service(servers)

 – web server

 – POP server

 – SIP server

Other hosts (clients) use these services Typically, servers listen on a given port

 – waiting for some client to connect

I’m listening... 

Someone connect to me … 

Page 7: 10a Network Applications

8/2/2019 10a Network Applications

http://slidepdf.com/reader/full/10a-network-applications 7/14

Client-server operation (cont.)

Servers should be always on

 – generally sit in a data centre

 – or on the “cloud” 

Clients are often user machines

 – PCs, phones, mobile devices,

 – sometimes other servers

Page 8: 10a Network Applications

8/2/2019 10a Network Applications

http://slidepdf.com/reader/full/10a-network-applications 8/14

Common Internet App. Protocols

E-mail

 – Simple Mail Transfer Protocol SMTP

 – Post Office Protocol (V3) POP

 – Interactive Mail Access Protocol IMAP

File Transfer

 – File Transfer Protocol FTP

 – BitTorrent

Domain Name Service DNS

Page 9: 10a Network Applications

8/2/2019 10a Network Applications

http://slidepdf.com/reader/full/10a-network-applications 9/14

Common Protocols (cont.)

Web

 – HyperText Transfer Protocol HTTP

Remote Login

 – Telnet

 – rlogin

 – Secure Shell SSH

Page 10: 10a Network Applications

8/2/2019 10a Network Applications

http://slidepdf.com/reader/full/10a-network-applications 10/14

Common Protocols (Cont.)

Remote graphics

 – X Window System

 – Microsoft Remote Desktop

 – VNC

Remote File Systems

 – Sun Network File System NFS

 – SMB / CIFS

Network Management

 – Simple Network Management Protocol

Page 11: 10a Network Applications

8/2/2019 10a Network Applications

http://slidepdf.com/reader/full/10a-network-applications 11/14

Common Protocols (cont.)

Voice and Teleconferencing

 – Session Initiation Protocol SIP

 – H.323

many others...

Page 12: 10a Network Applications

8/2/2019 10a Network Applications

http://slidepdf.com/reader/full/10a-network-applications 12/14

Protocol Format

Many protocols have a similar format

Client - Server

Command / Response

 – text commands

 – numeric responses

Half duplex data exchange

 – why?

Page 13: 10a Network Applications

8/2/2019 10a Network Applications

http://slidepdf.com/reader/full/10a-network-applications 13/14

Protocol Format (cont.)

ASCII text commands and responses>> MAIL From:<[email protected]> SIZE=54

<< 250 2.1.0 <[email protected]>... Sender ok>> RCPT To:<[email protected]>

<< 250 2.1.5 <[email protected]>... Recipient ok

 – why?

Page 14: 10a Network Applications

8/2/2019 10a Network Applications

http://slidepdf.com/reader/full/10a-network-applications 14/14

End