protected int available() throws IOException {   throw new SocketException("Not implemented");
protected int available() throws IOException { if (channel == null) throw new SocketException("not connected"); return channel.getVMChannel().available();
  protected int available() throws IOException {      // @vm-specific no natives      //TODO implement me                  throw new SocketException("Not implemented");  }