[usocket-devel] Determining the local host address from wildcard host

Hans Hübner hans.huebner at gmail.com
Sun Mar 7 07:25:27 UTC 2010


On Sun, Mar 7, 2010 at 08:20, Elliott Slaughter
<elliottslaughter at gmail.com> wrote:
> Wait -- what about the following?
> * (usocket::get-hosts-by-name (usocket::get-host-name))
> (#(192 168 1 100) #(5 223 109 11) #(192 168 56 1))
> I know these functions aren't exported from usocket, but is there any reason
> why they couldn't be?

Is USOCKET::GET-HOSTS-BY-NAME implemented by all backends?

See my previous post about the lack of robustness of hostname based solutions.

-Hans




More information about the usocket-devel mailing list