Main index | Section 3 | Options |
#include <krb5.h>
The server variant returns all configured interface addresses (if possible), including loop-back addresses. This is useful if you want to create sockets to listen to.
The client version will also scan local interfaces (can be turned off by setting libdefaults/scan_interfaces to false in krb5.conf), but will not include loop-back addresses, unless there are no other addresses found. It will remove all addresses included in libdefaults/ignore_addresses but will unconditionally include addresses in libdefaults/extra_addresses.
The returned addresses should be freed by calling krb5_free_addresses().
HEIMDAL | KRB5_GET_ADDRS (3) | July 1, 2001 |
Main index | Section 3 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.