if (getImpl() != null) getImpl().shutdownInput();
if (isClosed()) throw new SocketException("socket is closed");  getImpl().shutdownInput();
  public void shutdownInput() throws IOException  {    if (getImpl() != null)      getImpl().shutdownInput();    inputShutdown = true;  }