accept java.net.InetAddress parameters