Re: [Chicken-users] (hostinfo-addresses (hostname->hostinfo (get-host-name)))))) => returns only one address

2019-07-22 Thread Vasilij Schneidermann
One more time, with a patch for Jim. From 8db9d5d79e63e3a552e5ab2a8571d9deeb7fa8f3 Mon Sep 17 00:00:00 2001 From: Vasilij Schneidermann Date: Mon, 22 Jul 2019 22:49:30 +0200 Subject: [PATCH] C5 compatibility --- build-hostinfo | 2 ++ build-hostinfo.bat | 2 ++ hostinfo.egg | 7

Re: [Chicken-users] (hostinfo-addresses (hostname->hostinfo (get-host-name)))))) => returns only one address

2019-07-22 Thread Vasilij Schneidermann
For some reason putting Jim into Cc didn't work, so I'm trying it the other way. Once again, a patch for porting hostinfo to C5. Vasilij From 8db9d5d79e63e3a552e5ab2a8571d9deeb7fa8f3 Mon Sep 17 00:00:00 2001 From: Vasilij Schneidermann Date: Mon, 22 Jul 2019 22:49:30 +0200 Subject: [PATCH] C5

Re: [Chicken-users] (hostinfo-addresses (hostname->hostinfo (get-host-name)))))) => returns only one address

2019-07-22 Thread Vasilij Schneidermann
Hello Matt, Turns out this wasn't that hard to port. I've added Jim to Cc so that he can take a look at the patch. Unfortunately I don't know much about this networking thing, so I can't help you with the bug, other than giving you debugging ideas. Take a look at how exactly the egg performs

Re: [Chicken-users] (hostinfo-addresses (hostname->hostinfo (get-host-name)))))) => returns only one address

2019-07-20 Thread Matt Welland
Hi Vasilij, While it would be great if you decided to port hostinfo, note that unfortunately with the hostinfo-addresses bug it is not much use to me. We have some code that seems to work ok for now: http://www.kiatoa.com/cgi-bin/fossils/ulex/artifact/5fd65e8732654017 so I am not blocked by this.

Re: [Chicken-users] (hostinfo-addresses (hostname->hostinfo (get-host-name)))))) => returns only one address

2019-07-20 Thread Vasilij Schneidermann
Hello Matt, > BTW, I don't see a hostinfo egg for Chicken 5. Is porting hostinfo planned > or is the functionality available in a different egg? There is no such thing as a grand plan to port all the eggs, it's been done so far on a case-by-case basis. If someone really needs an egg, they'll

[Chicken-users] (hostinfo-addresses (hostname->hostinfo (get-host-name)))))) => returns only one address

2019-07-19 Thread Matt Welland
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,