[reSIProcate] SdpContents encode

stensil stensil at list.ru
Mon Oct 17 07:05:17 CDT 2005


Hello, in the SdpContents.cxx there is code

ostream&
SdpContents::Session::Connection::encode(ostream& s) const
{
   s << "c=IN "
     << NetworkType[mAddrType] << Symbols::SPACE[0] << mAddress;

   if (mTTL)
   {
      s  << Symbols::SPACE[0] << Symbols::SLASH[0] << mTTL;
   }
   s << Symbols::CRLF;
   return s;
}


So multicast address 239.1.1.1/127 (with TTL) encode as c=IN IP4 
239.1.1.1 /127 (with space character after IP-address value). Is it 
standard-compliant? In RFC2327 multicast-address defined as 
<ip>/<ttl>[/<count>].



More information about the resiprocate-devel mailing list