This call (tcp-listen PORT 4 #true "127.0.0.1")
works for me wrt to port reuse. See docs for #true. -- Matthias On Jan 28, 2011, at 8:49 PM, Hugh Myers wrote: > In the document page entitled "More: Systems Programming with Racket" > in section 5 it says: > > Unfortunately, we cannot now re-start the server with the same port number: > >> (serve 8080) > > tcp-listen: listen on 8080 failed (address already in use) > > The problem is that the listener that we created with serve is still > listening on the original port number. > > Problem is that on my machine I get no such error message. I'm running > the latest racket on a box under Vista Premium Home. I can think of no > reason for this difference other than the usual case of document > drift--- that is where the difference between what is documented and > what is, increases over time. Might this be the case? > _________________________________________________ > For list-related administrative tasks: > http://lists.racket-lang.org/listinfo/users _________________________________________________ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users