public void writeHostPortFormat(DataOutput out) throws IOException {
  if (csf != null) {
    throw new InternalError("TCPEndpoint.writeHostPortFormat: " + "called for endpoint with non-null socket factory");
  }
  out.writeUTF(host);
  out.writeInt(port);
}

public void writeHostPortFormat ( DataOutput out ) throws IOException { if ( csf != null ) { throw new InternalError ( "TCPEndpoint.writeHostPortFormat: " + "called for endpoint with non-null socket factory" ) ; } out . writeUTF ( host ) ; out . writeInt ( port ) ; }
write endpoint to output stream in older format used by unicastref for jdk1 . 1 compatibility .
