Re: [reSIProcate] Length of SIPMessage Received
Here's an example of an efficient way to count any object in resip:
SipMessage msg;
size_t count;
CountStream cs(count);
cs << msg;
cerr << "msg.length == " << count << endl;
On 9/4/06, ajay.kaushik@xxxxxxx <ajay.kaushik@xxxxxxx> wrote:
Hi all,
I had a function as Decode(SipMessage *recv)
where recv is an object of SipMessage Class
now internally for logging purpose i need to calculate the length of this
message
Can any body help in this regard.
Thanks in advance
Ajay Kaushik
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you
_______________________________________________
resiprocate-devel mailing list
resiprocate-devel@xxxxxxxxxxxxxxxxxxx
https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel