throw new InternalError("Socket.setSoLinger not implemented");
if ( on && (linger >= 0) ) { if (linger > 65535) linger = 65535; impl.setOption( SocketOptions.SO_LINGER, new Integer(linger) ); } else if ( on && (linger < 0) ) throw new IllegalArgumentException("SO_LINGER must be >= 0"); else impl.setOption( SocketOptions.SO_LINGER, new Boolean(false) );
  public void setSoLinger(boolean on, int linger) throws SocketException  {    throw new InternalError("Socket.setSoLinger not implemented");  }