1.Network Protocols
1.Network Protocols
Protocol Hierarchies
Network Protocols
• Protocol: is a format order of messages sent and received among the net entities and action taken on msgs
transmission receipt.
• Protocol process :
• TCP/IP Model
- helps us understand how data gets from one user’s computer to another.
-It aids to provide an organized structure for hardware and software developers to follow.
– Each layer has its own function and provides support to other layers.
• Internetworking
• Controls the operation of the subnet.
Network Layer • Routing algorithms(Routing packets from source to destination)
• Internet Protocol (IP) addressing (Logical addressing)
• Routers
Presentation Layer • Concerned with the syntax and semantics of the information.
• Preserves the meaning of the information.
• Data compression.
• Data encryption.
SERVICES
Connection-Oriented Connectionless
before data is sent, the service from the sending data can be sent at any time by the service from the
computer must establish a connection with the sending computer.
receiving computer.
OSI(Open System Interconnection) TCP/IP(Transmission Control Protocol /
Internet Protocol)
1. OSI provides layer functioning and also defines 1. TCP/IP model is more based on protocols and
functions of all the layers. protocols are not flexible with other layers.
2. OSI model has a separate presentation layer 2. TCP/IP does not have a separate presentation
layer
4. Network layer of OSI model provide both connection 4. The Network layer in TCP/IP model provides
oriented and connectionless service. connectionless service.
5. OSI model has a problem of fitting the protocols in 5. TCP/IP model does not fit any protocol
the model
6. Protocols are hidden in OSI model and are easily 6. In TCP/IP replacing protocol is not easy.
replaced as the technology changes.
7. OSI model defines services, interfaces and protocols 7. In TCP/IP it is not clearly separated its services,
very clearly and makes clear distinction between them. interfaces and protocols.
• Outgoing data is packaged and identified for delivery to the layer underneath
• PDU – Packet Data Unit – the “envelop” information attached to a packet at a particular
TCP/IP protocol e.g. header and trailer
• Header (Identifies the protocol in use, the sender and intended recipient)
• Trailer (or packet trailer) (Provides data integrity checks for the payload)
Data Formats
Encapsulation (TCP/IP)
What is a socket?
• An interface between application and network( each application create socket)