On a server with multiple IP addresses, the getInetAddress() method tells you which one this server socket is listening to.

Previous slide Next slide Back to first slide View graphic version