Closed louislau86 closed 3 weeks ago
If you are using SP protocols such as req rep or pub sub then yes the messages are framed properly in transit on the wire. The receiver will only see complete messages.
The entire api is message oriented and the transports ensure you will only ever interact with a complete message.
@gdamore Thanks for your response. And sorry to request more information about NNG, are all the protocols and communication modes in NNG support these feature? Users don't need to process the packet integrity?
In the message structure defined internally in NNG, I see fields for message header length and message body length. What I want to know is whether NNG has utilized these length fields to determine the integrity of packet reception, which is used to solve possible packet splitting and sticking problems during streaming transmission, so as to avoid dealing with these problems in applications using NNG?