On Sun, Mar 7, 2010 at 8:02 AM, james anderson <james.anderson@setf.de> wrote:
good evening;
i asked chun tian about this some while ago and he didn't think it was necessary as the 0.0.0.0 address suffices for most purposes.
On 2010-03-07, at 07:20 , Elliott Slaughter wrote:
if you really need this, you might look at the implementation for %get-ip-interfaces in clozure.
it uses getifaddrs in a fairly transparent manner, so, if you're unix-based, you should be ok with it.
I'm wondering if there is any way to determine the local host address (or addresses) used when I create a socket with :local-host *wildcard-host* . When I try to call get-local-address on such a socket, I just get #(0 0 0 0).
Thanks.