Branch: Tag:

2012-03-01

2012-03-01 18:44:48 by Henrik Grubbström (Grubba) <grubba@grubba.org>

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

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