Professional Documents
Culture Documents
Introduction To Computing Lecture 4 Internet Services
Introduction To Computing Lecture 4 Internet Services
Introduction To Computing Lecture 4 Internet Services
Lecture 4
Today’s Goal: Internet Services
To look at several services provided by the
Internet
FTP
Telnet
Web
eMail
Instant messaging
VoIP
www.imt.edu.pk
IP Address (1)
A unique identifier for a computer on a TCP/IP
network
Example:
203.81.197.188 (IP address of the IMT Web
server)
?
server
client
IP Address (2)
Networks using TCP/IP route messages based
on the IP address of the destination
Examples:
203.81.197.188 www.imt.edu.pk
216.239.33.101 www.google.com
DNS: Domain Name System (1)
Maintaining
a single, central table of domain
name/IP address relationships is impractical
Billions of DNS-IP translations take place every day
The DNS-IP tables get updated continuously
DNS: Domain Name System (2)
FTP
Telnet
Web
eMail
Instant messaging
VoIP
FTP: File Transfer Protocol
Typical
use: Transferring Web content from
the developer’s PC to the Web server
Telnet Protocol
User’s
Computer
Browser
User types in the URL into the browser
User’s
Computer
The browser breaks down the URL
User’s
Computer
http://sst.imt.edu.pk/cs101/index.htm
cs101/index.htm
Directory &
File Name
sst.imt.edu.pk
http Server’s Name
Protocol
Identifier
Browser sends server’s name to the DNS server
Domain Name
User’s DNS
Computer Server
IP Address
Browser establishes a connection with the server
User’s
Computer
Internet
Web
Server
Browser sends a ‘GET’ request for cs101/index.htm
User’s
Computer
Web
Server
Server sends the requested file to the browser
User’s
Computer
Web
Server
Browser displays index.htm
User’s X
Computer
Email
Computer-to-computer messaging
Email client
SMTP server
POP3 server
Email Clients
Examples:Outlook, Communicator,
Hotmail, YahooMail
SMTP: Simple Mail Transfer Protocol
A protocol used to send and receive email messages over a TCP/IP
network
POP3: Post Office Protocol
Sender’s
Computer
Email Client
The email client sends it to the SMTP server
Sender’s
Computer
SMTP
Server
If the receiver is local, it goes to the POP3 server
Sender’s POP3
Computer Server
SMTP
Server
The receiver picks it at his/her convenience
Sender’s POP3
Computer Server
SMTP Receiver's
Server Computer
Otherwise, it is sent to receiver's SMTP server
Sender’s
Computer
SMTP
Server
Internet
SMTP
Server
Which forwards it to the local POP3 server
Sender’s
Computer
SMTP
Server
POP3 SMTP
Server Server
The receiver picks it at his/her convenience
Sender’s
Computer
SMTP
Server
No
way of knowing if the person we are sending
email to is there to read it
IM Client
Internet
My Computer
IM client finds the IM server & logs in
My Computer IM Server
It sends communication info (IP address, etc) to
the IM server
Temporary
File
My Computer IM Server
IM server finds user’s contacts & sends him/her
the communication info for the ones online
My Computer IM Server
IM server also tells the contacts that the user is
online; sends his/her communication info to them
Contact’s
Computer
My Computer IM Server
Now the user’s & the contact’s IM clients are
ready to communicate directly (P2P)
Contact’s
Computer
My Computer IM Server
Contact
A’s Computer
My Computer IM Server
Contact
B’s Computer
Multiple, simultaneous conversations are possible
Contact
A’s Computer
My Computer IM Server
Contact
B’s Computer
When the user logs-off, his/her IM client informs the
IM server
Contact
A’s Computer
My Computer IM Server
Contact
B’s Computer
IM server erases the temporary file and informs the
user’s contact’s about his/her ‘offline’ status
Contact
A’s Computer
My Computer IM Server
Contact
B’s Computer
Key Point
This
server-less connection is termed as a P2P
connection
Question
Four
modes:
C2C
C2T
T2C
T2T (with a TCP/IP net somewhere in between)
Pro
Con
Noticeably poor quality of voice as compared
with land-line phone service, but not much
worse than cell phone service
Today’s Goal: Internet Services