[omniORB] omniORB 4.0.2 & omniNames startup

Craig Rodrigues crodrigu at bbn.com
Mon Jan 19 18:32:25 GMT 2004


On Mon, Jan 19, 2004 at 05:47:07PM -0500, Jon Lochner wrote:
> For those who care:
> 
> There is an issue with the way omniORB detects the local interface 
> addresses on FreeBSD.

Hi,

I think the problem is in
src/lib/omniORB/orbcore/tcp/tcpTransportImpl.cc

omniORB should use the getifaddrs() function
in <ifaddrs.h> instead of the SIOCGIFCONF ioctl()
for getting a list of interfaces.  This function
is available on FreeBSD, NetBSD, OpenBSD, MacOS X,
and now GNU glibc 2.3 (for distributions like RedHat 9).

-- 
Craig Rodrigues        Distributed Systems and Logistics, Office 6/325A
crodrigu at bbn.com       BBN Technologies, a Verizon company
(617) 873-4725         Cambridge, MA



More information about the omniORB-list mailing list