Code example for InetSocketAddress

Methods: getHostNamegetPort