protocol - Digitalist

Download Report

Transcript protocol - Digitalist

3 Computing System
Fundamentals
3.4 Networked Computer Systems
1
3.4.3 Network Protocols
WANs vs. LANs
• They differ in size, but also:
‣
‣
LAN's allow networked machines to listen
and broadcast freely, with switches and
bridges keeping the traffic manageable,
WANs however use software switching
technology to direct the traffic.
3
WANs vs. LANs
• They differ in size, but also:
‣
‣
LAN's allow networked machines to listen
and broadcast freely, with switches and
bridges keeping the traffic manageable,
WANs however use complex software
switching technology to direct the traffic.
4
•
•
Protocols
A protocol is a universally standard set of rules
governing how devices communicate.
It must include information on:
‣
‣
‣
‣
‣
handshaking (establishing the connection),
data compression methods,
end of message markers,
confirmation of receipt,
error checking methods.
5
Protocols
•
•
•
The commonest example on the internet is TCP/IP.
The decision on which to use is based on speed,
security, accuracy, reliability, simplicity, etc. e.g.
Skype uses UDP because it is faster than TCP/IP.
Essential both devices are capable of using the
same protocol (very likely these days).
6