Damir Dezeljin wrote:
Hi.
I create an APR socket and bind it to 0.0.0.0: .
How can I get all the IP addresses on which the socket is listening?
no APR way to do that... probably no portable way to do that...
on most BSD-like network stacks you can use ioctl(SIOCGIFCONF) to iterate through the interfaces, then assume that there isn't any funky sys config that limits the app's bind to a certain interface
