Code example for InetSocketAddress

Methods: getAddress, getHostName, getPort, isUnresolved