Hi,
I have one question with respect to SIP over TCP implementation.
Because the TCP connectsion provides stream service, after gets some
bytes from the stream, how a SIP node knows when a SIP messages is
finished receiving, or more fragments are still in the data stream?
The receiver must try to do the decode the received fragments as
supposing the SIP message is completed. If decoding failed, then wait
for more bytes from the stream and do a next decoding again. If the
receiver must do the docode again and again, it will cost a lot of CPU
time slot, I think. Do you have any good idea to improve or resolve the
problem.
Best Regards,
Rocky Wang
_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors