Branch: Tag:

2012-02-29

2012-02-29 13:55:13 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Protocols.DNS: Added some minimal autodoc for the async_client.

1436:   #define GIVE_UP_DELAY (RETRIES * RETRY_DELAY + REMOVE_DELAY)*2      // FIXME: Randomized source port! - //! + //! Asynchronous DNS client.   class async_client   {    inherit client;
1574:    }    }    +  //!    void host_to_ip(string host, function callback, mixed ... args)    {    if(sizeof(domains) && host[-1] != '.' && sizeof(host/".") < 3) {
1586:    }    }    +  //!    void ip_to_host(string ip, function callback, mixed ... args)    {    do_query(arpa_from_ip(ip), C_IN, T_PTR,
1594:    @args);    }    +  //!    void get_mx_all(string host, function callback, mixed ... args)    {    if(sizeof(domains) && host[-1] != '.' && sizeof(host/".") < 3) {
1605:    }    }    +  //!    void get_mx(string host, function callback, mixed ... args)    {    get_mx_all(host,