What is a message boundary?

前端 未结 2 750
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-01 05:31

What is \"message bonudaries\" in the following context?

One difference between TCP and UDP is that UDP preserves message boundarie

2条回答
  •  甜味超标
    2020-12-01 06:20

    Message boundaries in this context is simply the start & end of the message/packet. With TCP connections, all messages/packets are combined into a continuous stream of data, whereas with UDP the messages are given to you in their original form. They will have an exact size in bytes.

提交回复
热议问题