code: public void write(final char[] data,
                        final int start,
                        final int count) throws IOException {
          write(new String(data, start, count));
      }
docs: Opens TCP socket connection, sends the {@code count} chars out of the
  {@code data} parameter starting with {@code start} and closes the
  connection.