[racket] How to use tcp-listen with IPv6 on Linux?

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Mon Feb 28 08:36:45 EST 2011

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 <mflatt at cs.utah.edu> 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?
> >
> >



Posted on the users mailing list.