@hackage port-utils0.2.0.0

Utilities for creating and waiting on ports

Utilities for creating and waiting on ports.

openFreePort will create a socket bound to a random port (like warp's openFreePort).

wait will attempt to connect to given host and port repeatedly until successful.