chicken-users
[Top][All Lists]
Advanced

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

[Chicken-users] (hostinfo-addresses (hostname->hostinfo (get-host-name))


From: Matt Welland
Subject: [Chicken-users] (hostinfo-addresses (hostname->hostinfo (get-host-name)))))) => returns only one address
Date: Fri, 19 Jul 2019 15:53:13 -0700

There are three interfaces on the host but hostinfo-addresses returns only one. I think this may be a bug.

I'm using chicken 4.13 and see the same behavior on Ubuntu 18.04 and SLES11.

csi> (hostinfo-addresses (hostname->hostinfo (get-host-name)))
#(#u8(10 27 44 127))

Sometimes I get 127.0.0.1, sometimes I get one of the external interfaces.

BTW, I don't see a hostinfo egg for Chicken 5. Is porting hostinfo planned or is the functionality available in a different egg?

Thanks.
--
Complexity is your enemy. Any fool can make something complicated.
It is hard to keep things simple. - Richard Branson.

reply via email to

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