Lecture 2-Part2 Internet Services and WWW
Lecture 2-Part2 Internet Services and WWW
Lecture-2
Internet Services and WWW - Part 2
Instant Messaging
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
The IM server doesn’t
play any part in this
P2P communication
As new contact’s come online, IM server informs
them about the user being online & vice versa
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
• Four modes:
– C2C
– C2T
– T2C
– T2T (with a TCP/IP net somewhere in between)
Pros & Cons
Pro
Much cheaper than traditional phone service
Con
Noticeably poor quality of voice as compared
with land-line phone service, but not much
worse than cell phone service
Internet Relay Chat