TCPvsUDP explanation and Difference
This article mainly collects the concepts of UDP and TCP and the connection establishment process: UDP: User Datagram Protocol
Broadcast and multicast are only applied to u d p. They are very important for applications that need to transmit packets to multiple receivers at the same time. T c p is a connection-oriented protocol, which means there is a connection between two processes (identified by the port number) running on two hosts (determined by the I P address) respectively. However, sometimes a host sends frames to all other hosts on the Internet, which is broadcast. You can see this process through a r p and r a r p. Multicast (multicast) is between unicast and broadcast: frames are transmitted only to multiple hosts in multicast groups. For Ethernet, when the maximum byte of the address is set to 1, it indicates that the address is a multicast address, which can be expressed as 0 1: 0 0: 0 in hexadecimal format: 0 0: 0 0: 0 0 (Ethernet broadcast address ff: ff can be considered as a special case of Ethernet multicast address ).
If you need to know