1NAME 2 POE::Filter::DNS::TCP - A POE Filter to handle DNS over TCP connections 3 4VERSION 5 version 0.06 6 7SYNOPSIS 8 use POE::Filter::DNS::TCP; 9 10 my $filter = POE::Filter::DNS::TCP->new(); 11 my $arrayref_of_net_dns_objects = $filter->get( [ $dns_stream ] ); 12 my $arrayref_of_streamed_dns_pckts = $filter->put( $arrayref_of_net_dns_objects ); 13 14DESCRIPTION 15 POE::Filter::DNS::TCP is a POE::Filter for parsing and generating DNS 16 messages received from or transmitted (respectively) over TCP as per RFC 17 1035. 18 19CONSTRUCTOR 20 "new" 21 Creates a new POE::Filter::DNS::TCP object. 22 23METHODS 24 "get" 25 "get_one_start" 26 "get_one" 27 Takes an arrayref which is contains streams of raw TCP DNS packets. 28 Returns an arrayref of Net::DNS::Packet objects. 29 30 "put" 31 Takes an arrayref of Net::DNS::Packet objects. Returns an arrayref 32 of raw TCP DNS packets. 33 34 "clone" 35 Makes a copy of the filter, and clears the copy's buffer. 36 37AUTHORS 38 * Chris Williams <chris@bingosnet.co.uk> 39 40 * Hans Dieter Pearcey <hdp@cpan.org> 41 42 * Rocco Caputo <rcaputo@cpan.org> 43 44COPYRIGHT AND LICENSE 45 This software is copyright (c) 2014 by Chris Williams, Hans Dieter 46 Pearcey and Rocco Caputo. 47 48 This is free software; you can redistribute it and/or modify it under 49 the same terms as the Perl 5 programming language system itself. 50 51