#253·gops

Add method to get port used

Author: iTroozCreated Aug 2, 2024Updated Aug 2, 2024

When using a random port (:0), there is no way to then retrieve the port used, e.g. to print it to the console

maybe listener.Addr() should be exposed by agent ?