Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bind_ip_addr fixed (Re: bind_ip_addr pref on multihomed host?)



We just ran into this problem as well, look for a fix in the next couple of
days (v259 probably).

-- 
Denis Serenyi
QuickTime Streaming Server Engineering
email@hidden

on 12/7/00 8:10 PM, Andi Payn at email@hidden wrote:

> It's actually really simple code. If you look in the header file
> QTSServerPrefs.h, you can see that the function GetRTSPIPAddress() just
> returns the variable fIPAddress. And looking through the .cpp file, this
> variable gets initialized to 0, and is never touched again.
> 
> I believe the 2.0 code initialized the value as soon as the preference was
> read, but they appear to have forgotten that when they rewrote the prefs
> code to use XML.
> 
> The best solution would be to copy the exact same code that's in 2.01. But I
> was in a hurry, and it was taking too long to download, so I just wrote a
> replacement for GetRTSPIPAddress() that ignores the fIPAddress variable and
> just converts the string preference (by using inet_aton and, if that fails,
> gethostbyname) on the fly. It also tries to generate appropriate errors, but
> I'm not sure I did that properly.
> 
> Anyway, I'm currently running DSS 3 Preview bound to a single IP address; in
> other words, the fix works for me.


References: 
 >bind_ip_addr fixed (Re: bind_ip_addr pref on multihomed host?) (From: Andi Payn <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.