1ARES_CANCEL(3) Library Functions Manual ARES_CANCEL(3)
2
3
4
6 ares_cancel - Cancel a resolve
7
9 #include <ares.h>
10
11 int ares_cancel(ares_channel channel)
12
14 The ares_cancel function cancels all lookups/requests made on the the
15 name service channel identified by channel. ares_cancel invokes the
16 callbacks for each pending query on the channel, passing a status of
17 ARES_ETIMEOUT. These calls give the callbacks a chance to clean up any
18 state which might have been stored in their arguments.
19
21 ares_init(3) ares_destroy(3)
22
24 This function was added in c-ares 1.2.0
25
27 Dirk Manske
28
29
30
31 31 March 2004 ARES_CANCEL(3)