Re: [racket] How to use tcp-listen with IPv6 on Linux?
Thank you Matthew. I compiled racket with that change and IPv6 worked fine. Is this likely to get fixed in the source code? It would be nice for IPv6 to work out of the box. Ken On Sun, Feb 27, 2011 at 3:54 PM, Matthew Flatt wrote: > At Sat, 26 Feb 2011 12:07:23 -0800, Ken Shirriff wrote: >> I'm trying to get Racket to listen on an IPv6 port, but I can only get >> it to work with IPv4. > > It looks like the configure script is broken in a way that makes Racket > use gethostbyname() instead of getaddrinfo() to resolve hostnames. > > Can you check "racket/mzconfig.h" in your build directory and confirm > that it includes > > /* #undef HAVE_GETADDRINFO */ > > ? > > If so, does changing that line to > > #define HAVE_GETADDRINFO 1 > > and rebuilding fix the problem? > > _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users
Re: [racket] How to use tcp-listen with IPv6 on Linux?
Yes. The `configure' repair is pushed to the git repo and is now in the nightly build. At Sun, 27 Feb 2011 22:26:34 -0800, Ken Shirriff wrote: > Thank you Matthew. I compiled racket with that change and IPv6 worked > fine. Is this likely to get fixed in the source code? It would be > nice for IPv6 to work out of the box. > > Ken > > On Sun, Feb 27, 2011 at 3:54 PM, Matthew Flatt wrote: > > At Sat, 26 Feb 2011 12:07:23 -0800, Ken Shirriff wrote: > >> I'm trying to get Racket to listen on an IPv6 port, but I can only get > >> it to work with IPv4. > > > > It looks like the configure script is broken in a way that makes Racket > > use gethostbyname() instead of getaddrinfo() to resolve hostnames. > > > > Can you check "racket/mzconfig.h" in your build directory and confirm > > that it includes > > > > /* #undef HAVE_GETADDRINFO */ > > > > ? > > > > If so, does changing that line to > > > > #define HAVE_GETADDRINFO 1 > > > > and rebuilding fix the problem? > > > > _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users
Re: [racket] How to use tcp-listen with IPv6 on Linux?
At Sat, 26 Feb 2011 12:07:23 -0800, Ken Shirriff wrote: > I'm trying to get Racket to listen on an IPv6 port, but I can only get > it to work with IPv4. It looks like the configure script is broken in a way that makes Racket use gethostbyname() instead of getaddrinfo() to resolve hostnames. Can you check "racket/mzconfig.h" in your build directory and confirm that it includes /* #undef HAVE_GETADDRINFO */ ? If so, does changing that line to #define HAVE_GETADDRINFO 1 and rebuilding fix the problem? _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

