Beispiel #1
0
  //  Set address to listen on.
  public void set_address(String addr_) throws IOException {

    address.resolve(addr_, false);

    InetSocketAddress sock = (InetSocketAddress) address.address();
    String fake = sock.getAddress().getHostAddress() + ":" + sock.getPort();
    super.set_address(fake);
  }
Beispiel #2
0
 // Get the bound address for use with wildcards
 public String get_address() {
   return address.toString();
 }