sipwitch-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sipwitch-devel] media proxy


From: David Sugar
Subject: Re: [Sipwitch-devel] media proxy
Date: Wed, 23 Feb 2011 14:00:39 -0500

This assumes that "ap" already points to the current place in
the buffer where the address was originally parsed from, and
hence overwrites the original ap offset in buffer with a new string
which should then become the peer address.  After it tags the ttl back
on at the (new) end.

>       Socket::getaddress((struct sockaddr *)&peering, ap, len - 8);
>       String::add(buffer, len, ttl);
> }
> 
> 
> So, it gets the peering address, but it does not add it to the buffer.
> 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]