[ Version ( since = "3.8" ) ]
public virtual bool get_destination_address (out string host, out uint16 port)
Provides destination server host name and port to which the backend connects.
This is used to determine required connection point for
is_destination_reachable. The host is a newly allocated string, which will be freed with
g_free. When this sets both host
and port, then it should return true, indicating it's a remote backend. Default
implementation returns false, which is treated like the backend is local, no checking for server
reachability is possible.
| this |
an Backend instance |
| host |
destination server host name |
| port |
destination server port |
|
true, when it's a remote backend and provides both |