I'm just curious about this question, can any one tell me?
TCP is a streaming protocol between a server and clients. The protocol is reliable and requires separate state for each server<>client stream. The connect protocol, initiated with listen/accept, sets up this server<>client connection state. UDP is a connectionless, unreliable datagram, (message) protocol, so no need to listen for new connections - datagrams can come in in any order from any source.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With