If you are not redirected automatically, follow this link to getdns_return_t getdns_context_set_listen_addresses(getdns_context *context, const getdns_list *listen_addresses, void *userarg, getdns_request_handler_t handler).