OSI

lAYER INDEX LAYER Protocol Data Unit(PDU) Functions Protocals
7 Application Data TFTP,HTTP,SNMP,FTP,SMTP,DNS,Telnet, DHCP
6 Presentaton Data encoding, decoding, encrypt, decrypt SSL, WPA, WEP, Kerberos
5 Session Data maintaining communication between two devices PPTP, TSL/SSL, RTP, NetBios, SOCKS, RTP
4 Transport Segments TCP,UDP
3 Network Packets Add logical address of sender and receiver IP,ICMP,RIP,OSPF,BGP,IGMP
2 Data link Frame Error control SLIP,CSLIP,PPP,ARP,RARP,MTU
1 Physical Bits SO2110,IEEE802,IEEE802.2

Five Layers

lAYER LAYER Value
5 Application Data
4 Transport Segments
3 Network Packets
2 datalink Frame
1 Physical Bits

TCP

  • Connection Oriented
  • Reliable
    • ACK, SYN (every message)
    • Sender -> SYN
    • Receiver -> ACK
  • Congestion control
TCP 3-Way Handshake Process

OSI model

  • Step 1 (SYN) : In the first step, client wants to establish a connection with server, so it sends a segment with SYN(Synchronize Sequence Number) which informs server that client is likely to start communication and with what sequence number it starts segments with
  • Step 2 (SYN + ACK): Server responds to the client request with SYN-ACK signal bits set. Acknowledgement(ACK) signifies the response of segment it received and SYN signifies with what sequence number it is likely to start the segments with
  • Step 3 (ACK) : In the final part client acknowledges the response of server and they both establish a reliable connection with which they will start the actual data transfer

相关文章:

  • 2022-02-20
  • 2021-05-07
  • 2022-01-05
猜你喜欢
  • 2021-07-10
  • 2021-06-10
  • 2022-12-23
  • 2021-04-26
  • 2021-11-26
相关资源
相似解决方案