On Wed, 2010-01-20 at 14:22 +0800, LIU Liping wrote:
> When TCP is used as transport lay for SIP messages. Maybe the SIP
> Stack can read some data from socket which includes more than one sip
> message and maybe the SIP stack can read only a part of a sip message.
> So, now Is it the stack's duty to determine the sip message boundaries
> by the START LINE and content length?  Is there any protocols to
> regulate the stack's behaviour?

Basically, "No".  TCP does not provide or guarantee any sort of message
boundaries.  The recipient of SIP over TCP is required to discern the
boundaries using the Content-Length headers.

Dale


_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors

Reply via email to