The internet
Mar 28, 2015
The internet
Computer
Computer ComputerServer
This is a computerA network is a combination of computers and servers. They are all connected to allowing them to
share information.Most of the time, computers are connected to one another through a server. But sometimes
computers are directly connected to each other.
Your home
Computer
LaptopPrinter
Computer
Phone
T.V Box
Router
Information
Your ISP
Internet Service
Provider
Home network
(LAN)
Home network
(LAN)
Home network
(LAN)
Home network
(LAN)
Home network
(LAN)
Home network
(LAN)www.website.com
Website Request
Website html data
The Internet.
ISPISP
ISP
ISP
ISP
ISP
ISP
ISP
ISP
ISP
ISP
ISP
ISP
IP Address
Computer
All computers have names. Computers names aren’t as unique as Alex, Jason, Susan, Jamie, etc.Computers like numbers.
68.29.54.176
201.205.30.60
89.99.186.76 66.69.175.72
112.139.118.21
248.124.215.129
Bad!
Very good!
Information Sending – Packets – UDP – Sending Packets
Computer00 01
Computer00 02
Computer00 03
00 02Hello
How are you doing?
00 01Hi! I’m doing
fine!
Basic Packet ProtocolWho are you sending the information to?What is the information you want to send?
Information Sending – Packets – UDP – Out of Order!
Computer00 01
Computer00 02
Computer00 03
00 02Hello
Basic Packet ProtocolWho are you sending the information to?What is the information you want to send?
00 02How00 02
Are you00 02
Doing?
Oh no! The packets didn’t all arrive at the same time, so they’re all out of order!
Information Sending – Packets – UDP – Reorder those packets.
Computer00 01
Computer00 02
Computer00 03
00 020
Hello
Basic Packet ProtocolWho are you sending the information to?What is the information you want to send?
00 021
How
00 022
Are you
00 023
Doing?
Information Sending – Packets – UDP – Broken Connections
Computer00 01
Computer00 02
Computer00 03
00 020
Hello
Basic Packet ProtocolWho are you sending the information to?What is the information you want to send?
00 021
How
00 022
Are you
00 023
Doing?
Information Sending – Streams – TCP – Sending Packets
00 01 00 02
00 03
Stream protocolForm connection with end computerSend information.
Form Stream connection
Hello how are you doing?
Information Sending – Streams – TCP – Stream of Information
00 01 00 02
00 03
Stream protocolForm connection with end computerSend information.
Information Sending – Streams – TCP – There is no end.
00 01 00 02
00 03
Stream protocolForm connection with end computerSend information.
Do the LaundryTake out the TrashSweep the FloorMow the Lawn 00 00 00
Student Activity: Creating Protocols
00 01 00 02
Imagine two computers are connected by either a literal connection or through a stream.
00 01 00 02
The first computer sends some information to the second computer. You don’t exactly know how the packets are structured however.
00 02Hello Friend
00 01 00 02
Packets have a chance of getting very complex!They can contain things like :Where they’re goingWho sent it.What kind of information.Commands.
Send to: 00 02Piece: 0
Message: Hello Friend!Command: Delete after reading.
End: 00 00 00
Imagine two computers are connected by either a literal connection or through a stream.
00 01 00 02
If 00 01 sends a packet of random information to 00 02, can you decode it and find out what information is being sent?
What order is the information in?
(00 02) (00) (He ll o_) (00 00 00)(00 02) (01) (fr _i e_) (00 00 00)(00 02) (02) (nd !_ __) (00 00 00)(00 02) (03) (00 00 00)
Imagine two computers are connected by either a literal connection or through a stream.