10a network applications
TRANSCRIPT
8/2/2019 10a Network Applications
http://slidepdf.com/reader/full/10a-network-applications 1/14
Network Applications
2010S3 - 2011/12
Gihan Dias
CS2032
8/2/2019 10a Network Applications
http://slidepdf.com/reader/full/10a-network-applications 2/14
Network Applications
World-Wide Web
– Googledocs
– YouTube
– Games
Skype, videoconferencing
BitTorrent
Remote Files
Remote Deskto
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
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
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
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 …
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
8/2/2019 10a Network Applications
http://slidepdf.com/reader/full/10a-network-applications 8/14
Common Internet App. Protocols
– 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
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
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
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...
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?
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?
8/2/2019 10a Network Applications
http://slidepdf.com/reader/full/10a-network-applications 14/14
End