ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/cvsroot/EV-ADNS/README
(Generate patch)

Comparing cvsroot/EV-ADNS/README (file contents):
Revision 1.4 by root, Wed Dec 12 23:44:46 2007 UTC vs.
Revision 1.5 by root, Sat May 17 20:37:41 2008 UTC

3 3
4SYNOPSIS 4SYNOPSIS
5 use EV; 5 use EV;
6 use EV::ADNS; 6 use EV::ADNS;
7 7
8 EV::ADNS::submit "example.com", EV::ADNS::r_a, 0, sub { 8 EV::ADNS::submit "example.com", EV::ADNS::r_addr, 0, sub {
9 my ($status, $expires, @a) = @_; 9 my ($status, $expires, @a) = @_;
10 warn $a[0]; # "127.13.166.3" etc. 10 warn $a[0]; # "127.13.166.3" etc.
11 }; 11 };
12 12
13 EV::loop; 13 EV::loop;
50 50
51 The format of result records varies considerably, here is some 51 The format of result records varies considerably, here is some
52 cursory documentation of how each record will look like, depending 52 cursory documentation of how each record will look like, depending
53 on the query type: 53 on the query type:
54 54
55 EV::ADNS::rr_a 55 EV::ADNS::r_a, EV::ADNS::r_addr
56 An IPv4 address in dotted quad (string) form. 56 An IPv4 address in dotted quad (string) form.
57 57
58 EV::ADNS::r_ns_raw, EV::ADNS::r_cname, EV::ADNS::r_ptr, 58 EV::ADNS::r_ns_raw, EV::ADNS::r_cname, EV::ADNS::r_ptr,
59 EV::ADNS::r_ptr_raw 59 EV::ADNS::r_ptr_raw
60 The resource record as a simple string. 60 The resource record as a simple string.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines