Computer Networks Lecture 9

Difference between OSI and TCP/IP Layer

OSITCP IP
7 Layers5 Layers
PDU Unit Protocol Data UnitSegment
There is no port number, IP address
Socket, Physical Address
Socket, Port, IP Address
Single TransportUDP TCP Protocol
Less SecurityIPSEC, HTTPS
Network Byte Order
Little Big Endian
Functions related for Conversion
  1. HTONL unsigned Long Integer to network Byte Order
  2. HTONS Unsigned Short to NBO S = Short 16 bit
  3. HTHL an unsigned Network Byte Order Long Integer to Host Byte Order L = Long bit 32 Bit
  4. NTOHS An Unsigned short NBO to host byte order

Error detection with hamming and parity checks

Study the figure and recognize the link

Fast ethernet atm sonet fast ethernet

Functions of datalink layer

References

Information
  • date: 2024.08.20
  • time: 12:08