ares_destroy
ares_cancel()
ares_destroy_options()
ares_expand_name()
ares_expand_string()
ares_fds()
ares_free_hostent()
ares_free_string()
ares_gethostbyaddr()
ares_gethostbyname()
ares_getnameinfo()
ares_getsock()
ares_init()
ares_init_options()
ares_library_cleanup()
ares_library_init()
ares_mkquery()
ares_parse_a_reply()
ares_parse_aaaa_reply()
ares_parse_ns_reply()
ares_parse_ptr_reply()
ares_parse_srv_reply()
ares_parse_txt_reply()
ares_process()
ares_process_fd()
ares_query()
ares_save_options()
ares_search()
ares_send()
ares_strerror()
ares_timeout()
ares_version()

NAME

ares_destroy - Destroy a resolver channel

SYNOPSIS

#include <ares.h>

void ares_destroy(ares_channel channel)

DESCRIPTION

The ares_destroy function destroys the name service channel identified by channel , freeing all memory and closing all sockets used by the channel. ares_destroy invokes the callbacks for each pending query on the channel, passing a status of ARES_EDESTRUCTION . These calls give the callbacks a chance to clean up any state which might have been stored in their arguments.

SEE ALSO

ares_init (3) ares_cancel (3)

AUTHOR

Greg Hudson, MIT Information Systems
Copyright 1998 by the Massachusetts Institute of Technology.

This HTML page was made with roffit.