- Parameterize out the number of accept/connect attempts
- Randomize the bind port to allow 2+ consecutive calls in < 10 minutes, and to also not fail if (for instance) there's a server already listening on port 8080
- Don't leak the listening socket / fds into the child process
- Fix warnings:
- Remove argc/argv (-Wunused)
- Mark sig __unused (-Wunused)
- Mark quit static (-Wmissing-variable-declarations)
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division