1ARES_DESTROY(3)            Library Functions Manual            ARES_DESTROY(3)
2
3
4

NAME

6       ares_destroy - Destroy a resolver channel
7

SYNOPSIS

9       #include <ares.h>
10
11       void ares_destroy(ares_channel channel)
12

DESCRIPTION

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

SEE ALSO

22       ares_init(3), ares_cancel(3)
23

AUTHOR

25       Greg Hudson, MIT Information Systems
26       Copyright 1998 by the Massachusetts Institute of Technology.
27
28
29
30                                7 December 2004                ARES_DESTROY(3)
Impressum