@Override public InetSocketAddress ipLocal(){
  Socket s=getSocket();
  if (s != null) {
    return (InetSocketAddress)s.getLocalSocketAddress();
  }
 else {
    return null;
  }
}

@ Override public InetSocketAddress ipLocal ( ) { Socket s = getSocket ( ) ; if ( s != null ) { return ( InetSocketAddress ) s . getLocalSocketAddress ( ) ; } else { return null ; } }
returns the server port that accepted the request .
