InetAddress addr;
InetAddress addr = getLocalAddress ();
  public SocketAddress getLocalSocketAddress()  {    InetAddress addr;    try      {        addr = (InetAddress) impl.getOption (SocketOptions.SO_BINDADDR);      }    catch (SocketException e)      {	return null;      }        return new InetSocketAddress (addr, impl.getLocalPort());  }