Network Programming: Amanullah Khan
Network Programming: Amanullah Khan
Amanullah Khan
Prerequisite
According to Wikipedia:
network programming, essentially identical to socket programming or client
server programming, involves writing computer programs that communicate
with other programs across a computer network.
Program: A set of coded instructions that a computer can understand
to solve a problem or produce a desired result
So we have knowledge to create programs! (prerequisite)
In this course we will learn how to communicate with other programs
across a computer network thats our course objective.
What is a network?
Types of Network
LAN, WAN & MAN
Why network?
Sharing resources
Resources become available regardless of the users physical location (server
based, peer2peer)
Example: dropbox, group, rapidshare etc.
Load Sharing/utilization
Jobs processed on least crowed machine
Resource can be shared
Example: Messagin Queues, load blancer
Question: how millions of user can stay connected with Facebook at the same
time
High reliability
Alternative source of supply (multiple copies/links)
Example: Backup servers, Disaster recovery plans
This type of network is not as big as WAN but bigger than LAN.
Metropolitan area network is used within college or within city. So it
has high range than LAN. This type of network is also used for
communication in military.
Example:
Networking between banks in a city.
Used in air reservation.
Technology:
Cables, Telecommunication , Router etc.
local ISP
Why Internet?
What is internet?
Network of networks regional ISP
What is the Internet?
A global internet based on IP protocol
Internet applications:
Email
File transfer
Newsgroup
File sharing
Resource distribution
World wide web company
Video conference network
Gaming
Programs & Processes