Finding automatically allocated port

Aug 4, 2015 at 11:39 AM
I've found out the http_listener automatically allocates a port if a port 0 is specified in the URI passed to its constructor. Now I want to know what port has been allocated. I tried accessing listener.uri().port() but that returns zero, not the allocated port number. Is there a way to do this?
Coordinator
Aug 4, 2015 at 9:08 PM
Unfortunately, I don't think we have an API to do this currently.