It would be amazing if there was a way you could get the port number Cro listens at when you pass it a "0" for the port number. This would let Cro bind to a free port, which could be very useful in test harnesses, as hardcoding a port in the test harness is not guaranteed to be free from collisions. However, today there is no way that I know of to determine the port number it binds to if using a dynamic port, at least not in a portable way.
It would be amazing if there was a way you could get the port number Cro listens at when you pass it a "0" for the port number. This would let Cro bind to a free port, which could be very useful in test harnesses, as hardcoding a port in the test harness is not guaranteed to be free from collisions. However, today there is no way that I know of to determine the port number it binds to if using a dynamic port, at least not in a portable way.