I tried the test program (define addr (inet-aton "127.0.0.1")) (define sockaddr (make-socket-address AF_INET addr 8080)) (define sock (socket PF_INET SOCK_STREAM 0)) (setsockopt sock SOL_SOCKET SO_REUSEADDR 1) (bind sock sockaddr)
And got the same error. I also tried changing the port to 9000 and it still happened. Noah On Sat, Feb 12, 2011 at 3:59 PM, Andy Wingo <wi...@pobox.com> wrote: > On Sat 12 Feb 2011 21:33, Noah Lavine <noah.b.lav...@gmail.com> writes: > >>> Does guile --listen work? It appears to use a slightly different way to >>> set up the sockaddr. >> >> Oddly enough, it worked the first time I tried it (at least enough to >> get to a REPL - I didn't try to netcat over to it), but failed the >> second and third times. > > Would that be an SO_REUSEADDR-related issue? > > Musing, > > Andy > -- > http://wingolog.org/ >