That would also solve the wait - when the server is ready, you get the port.
/ David Hedbor
Previous text:
2003-04-15 23:48: Subject: Starting new pike processes from the testsuite
The test will fail, I guess.
If that's a problem, one could hack the server program to try random ports until bind succeeds, and then write the port number to stdout.
/ Niels Möller (ny flexiblare bröstkorg)