Mc-601-Edi-Http 3
Mc-601-Edi-Http 3
• Electronic commerce is an
emerging concept that describes
the process of buying and selling or
exchanging of products, services
and information via computer
networks including the internet
E-Commerce – classification…
Client
file
A Server X
Internet
Client file
B Server Y
What is the Web ?
Networ
k server
Client Client
Machine Machine
Hub
Print
Printer
Printer Server
OSI Network Model
1. International Organization for Standards
(ISO)
2. In 1970’s came ISO’s OSI model – a
conceptual model for network
communications
3. OSI - Open System Interconnection
Reference Model
4. 7 layer architecture
ISO OSI model
Session
Physical
TCP/IP Protocol Stack
Members
HTTP Used for web page requests
Telnet Terminal Emulation Protocol – connects a local computer with a
remote computer
FTP File Transfer Protocol - provides an interface and services for file
transfer over the network – upload from local to remote & vice versa
SMTP Simple Mail Transport Protocol – provides e-mail services on the
internet
TCP Transmission Control Protocol – connection-oriented transport protocol
Host Machine
Getting the binary bits:Example
140.57.220.200
11011100 11001000
10001100 00111001
Decimal To Binary
2 57
2 28 1
2 14 0 00111001=57
2 7 0
2 3 1
1 1
Binary To Decimal
20x1+21*0+22*0+23*1+24*1+25*1+26*
0+27*0=57
Look again at binary
addresses????
Classes of networks – A,B,C,D and E
Network number starting with 0
- 0111 1111 is the biggest number equal to 127 in decimal
- So, 0-127 is the range of class A networks
Network number starting with 10
- 1000 0000 is equal to 128 in decimal
- 1011 1111 is equal to 191 in decimal
- So, 128-191 is the range of class B networks
Network number starting with 110
-1100 0000 is equal to 192 in decimal
- 1101 1111 is equal to 223 in decimal
- So, 192-223 is the range of class C networks
Network number starting with 111
- So, 224-255 is the range of class D & E networks
- Special multicast and experimental groups
Only first byte tells network class
Classes
130.45.29.255 Class B
200.1.65.72 Class C
www.cs.vu.edu 129.167.69.45
int
edu com pk
gov
net org
vu pu
cs ms
ecom1 ecom2
Name Resolution
2 Root
Name
server
u
c s .vu.ed 233
. 8.
1 ecom . 1 96.12 3
d u, 128
vu.e 4
ecom.cs.vu.edu Local VU
ecom.cs.vu.edu
client Name Name
8 cs.vu.edu, 192.12.69.5
192.12.69.60 server 5 server
ecom
.c
ecom s.vu.edu
.cs.v
u.ed 6
u
192.
12.6
CS
9.60
Name
server
7
16
• http://vu.edu
• http://cs.vu.edu
• http://ecom.cs.vu.edu
• http://www.cs.vu.edu/folder/home.html
MAC Address
Hub
Ring Topology
Data Packet
Bridge
S1
S1 S3
S3
S2
S2
100
140.57 R1 R2 BB
AA
R3 R4
R5 R6
Data Network
Packet server
1-
2 - MAC?
Router
(Destination) 3 - 009B6D359F1C
4 - Data Packet
sent
Web Server
Web Server
ISP
IAP3
NAP NAP
MAE
NAP
NAP NAP
MAE
IAP2
IAP1
ISP
Client
100
140.57 R1 R2 BB
AA
R3 R4
R5 R6