Comment 4 for bug 766159

Revision history for this message
Ph. Marek (ph-marek) wrote :

perl doesn't have this problem; I just checked. sbcl returns NIL for the host name, while perl works just fine:

strace perl -e 'use IO::Socket::INET; $x = IO::Socket::INET->new(Listen=>5,LocalAddr=>"127.0.0.1",LocalPort=>3332)'
...
bind(3, {sa_family=AF_INET, sin_port=htons(3332), sin_addr=inet_addr("127.0.0.1")}, 16) = 0