#include <db_cxx.h> int DbSite::get_address(const char **hostp, u_int *portp);
The DbSite::get_address()
method returns a
replication site's network address. That is, this method returns
the site's host name and port.
The DbSite::get_address()
method either returns a non-zero error value or throws an
exception that encapsulates a non-zero error value on
failure, and returns 0 on success.