Professional Documents
Culture Documents
2 Internet Programming
Client-server Smart client code contacts the server for
data, then formats and displays it to the user. Input at the
client is committed back to the server when it represents a
permanent change.
3
Distributed Computing Issues
Heterogeneity: Networks, hardware, OS, programming
language, data representations, etc.
Interoperability: Middleware, mobile code, protocols
Openness: Access, extendibility,
Security: Confidentiality, integrity, availability
Scalability (Failure Handling): Detecting failures, masking
failures, tolerating failures, recovery from failures,
redundancy
Concurrency: Consistency, causality, mutual exclusion,
etc,
Transparency
4 Internet Programming
OVERVIEW OF THE INTERNET
Internet
Global Interconnectivity
Intranet
Local Interconnectivity (Within
an Office)
Extranet
Company wide
Interconnectivity
5 Internet Programming
The Internet is global nature
6 Internet Programming
History of the Net
7 Internet Programming
The Net is Public, cooperative and independent network.
8 Internet Programming
ADMINISTRATION OF THE INTERNET
Internet Federal
Internet Activities Networking
Society Board Council
(IAB) (FNC)
Internet
Internet
Research
Engineering
Task Force
Task Force
(IRTF)
(IETF)
Internet Operational
Management Requirements
Area Area
Law
Application Services
Area Area
IP-Next
Transport
Generation
Area
Area
Security
Internet Routing Area
Area Area
9 Internet Programming
In 1983, the Internet Activities Band (IAB) was formed with
membership from professionals and researchers with technical
interest in the health and the evolution of the entire Internet
system.
The IAB is responsible for coordinating design, engineering
and management of the Net.
The IAB has two task forces:
The Internet Research Task Force (IRTF) and;
The Internet Engineering Task Force (IETF).
The IETF is responsible for formulating policies in areas of
applications, Internet, IP-Next generations, Network
management, Operational requirements, Routing, Security,
Transport and User services.
10 Internet Programming
There are two organizations that liaise with IAB at the
topmost level:
The Internet Society (IS) and;
Tthe Federal Networking Council (FNC).
11 Internet Programming
Getting Connected to the Net
Broadband Connection
Digital Subscriber Line (DSL) - High-speed Internet
Connection using regular Copper telephone lines.
Cable Modem High-speed Internet Connection through the
Cable television network.
Satellite Modem - High-speed Internet Connection through the
Satellite/VSAT
12 Internet Programming
Dial-up Versus Broadband Connections
14 Internet Programming
Domain names are composed of 3 or 4 parts namely:
Hostname,
Organization,
Sub-domains (optional) and
Country name.
Examples are:
Hostname.Organizationname.Type of categorization.Countryname
OR
Hostname.Domain.Top-level domain.International top-level domain.
IP Address -------------------------- 216.239.39.99
Domain Name --------------------- www.covenantuniversity.edu.ng
www (Internet Server/Hostname).covenantuniversity
(Organizationname) .edu (genreric TLD).ng (country code
TLD/International top-level domain)
15 Internet Programming
Where the top-level domains include:
.com for commercial
.mil for military
.edu for education
.org for organization
.net for information services/network
Examples
www.covenantuniversity.edu.ng
www.ox.ac.uk
16 Internet Programming
IP Addresses
179.11.16.65 Decimal-dotted
17 Internet Programming
IP address Conversion Table from binary to decimal
Octect Value 0 0 0 1 0 0 0 0 16
(3)
18 Internet Programming
Address Classes
There are five different classes of address designed to meet
the needs of different organizations.
19 Internet Programming
Class First Octet Net-ID Default Subnet Availability
mask
A 1-126 First Octet 255.0.0.0 Available
B 128-191 First 2 Octet 255.255.0.0 Available
20 Internet Programming
NB
127 is reserved for loopback (127.0.0.1) for internal testing
on the local machine.
Web applications can be tested on the local machines using
the loopback (localhost) before deployment to the web.
21 Internet Programming
The Internet Corporation for Assigned Names and Numbers
(ICANN), is saddled with the responsibility of managing and
assigning names and IP addresses.
22 Internet Programming
INFORMATION ROUTING ON THE INTERNET
Data passage within an internet-work is via a router
A packet of data is transmitted from one node to another
through the router based on the IP address.
The routers is the most ideal because of its capability to handle
complex situations like the Internet, although it is the most
expensive of them.
The router maintains a routing table, which contains the IP
address of all the adjacent nodes and the various subnets of the
Internet.
Router has the capability of routing packets of data through the
shortest route using a number of routing algorithms.
23 Internet Programming
Because of huge number of host on the network and the
differences in network implementation, there need for
unification in protocols connecting networks.
January 1, 1983: TCP/IP becomes the protocol suite upon
which all Internet communication is based
TCP/IP defines how information is exchanged between hosts
the network.
The TCP/IP model (also known as the Department of Defense
(DoD) model) is based on a five-layer model for networking.
Like most networking software, TCP/IP is modeled in layers.
24 Internet Programming
Layer 4: Process/Application Layer
Specifies how a particular application uses the net. The
Application layer integrates network functionality into the host
operating system, and enables network services. That is,
application, presentation and session. The protocols at this
layer include: e-mail, telnet, network management and
directory services (NFS).
25 Internet Programming
Layer 2: Internet Layer
The internet (internetwork or network ) layer provides the virtual
network image of an internet. It is responsible for routing
packets within the internetwork. Gateways and routers are used
for that purpose. The TCP/IP protocol at this layer is the Internet
Protocol (IP) which operates a system of logical host addresses
called IP addresses.
26 Internet Programming
192.10.4.50 119.70.34.7
Sender Receiver
The packet of data is sent down the four layers of the DoD
model from Application, through TCP, IP to Hardware
(network cable, NIC)
28 Internet Programming
It is unwrapped and rewrapped for the next lower layer. The
procedure is repeated down the layers of the sending system
and up the layers of the receiving system until it gets to the
specified IP address.
29 Internet Programming
Application Layer Protocols
Protocol Description
HypertextTransfer HTTP is as an information requesting and responding
Protocol (HTTP) protocol. It is used by Web browsers and Web servers to
exchange files through the Web and intranets.
File Transfer Protocol It enables transfer of files between two hosts that are at
(FTP) remote locations to each other. It performs basic file transfer
between hosts. Also ensures file security through users
authentication mechanisms.
Trivial File Transfer Similar to FTP. It lets you transfer files between a host and an
Protocol (TFTP) FTP server. It does not provide authentication.
31 Internet Programming
Transport Layer Protocols
Protocol Descriptio
User Datagram Perform quick data transfer but is not as reliable as TCP
Protocol (UDP)
32 Internet Programming
Network Layer Protocols
Protocol Description
Internet It is a connectionless protocol that determined routing path. It
Protocol (IP) also handles logical addressing issues through the use of IP
addresses.
Internet Control works closely with IP in providing error and control
Message Protocol information that helps move data packets through the
(ICMP) internetwork.
Internet Group Used for defining host groups.
Membership
Protocol (IGMP)
Address Resolution To get the MAC address of a host from a known IP address.
Protocol (ARP)
Other Network layer protocols include: Dynamic Host Comfiguration Protocol (DHCP),
Open Shortest Path First, Address Resolution Protocol (RARP), etc
33 Internet Programming