[reSIProcate] Length of SIPMessage Received

Jason Fischl jason at counterpath.com
Mon Sep 4 10:07:24 CDT 2006


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 at tcs.com <ajay.kaushik at tcs.com> 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 at list.sipfoundry.org
> https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel
>
>



More information about the resiprocate-devel mailing list