Query: poe::component::resolver::sidecar
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
POE::Component::Resolver::Sidecar(3pm) User Contributed Perl Documentation POE::Component::Resolver::Sidecar(3pm)NAMEPOE::Component::Resolver::Sidecar - delegate subprocess to call getaddrinfo()VERSIONversion 0.920SYNOPSISUsed internally by POE::Component::Resolver.DESCRIPTIONPOE::Component::Resolver creates subprocesses to call getaddrinfo() so that the main program doesn't block during that time. The actual getaddrinfo() calling code is abstracted into this module so it can be run in a separate executable program. This reduces the memory footprint of forking the entire main process for just getaddrinfo(). It's a strong, useful pattern that other POE::Components have implemented before. POE::Quickie does it generically. POE::Component::SimpleDBI and POE::Component::EasyDBI do it so their DBI subprocesses are relatively lightweight. main The main code to read POE::Component::Resolver requests from STDIN and write getaddrinfo() responses to STDOUT.SEE ALSOPOE::Component::Generic is one generic implementation of this pattern. POE::Quickie is another generic implementation of this pattern.BUGSNone known.LICENSEExcept where otherwise noted, this distribution is Copyright 2011 by Rocco Caputo. All rights reserved. This distribution is free software; you may redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2012-06-03 POE::Component::Resolver::Sidecar(3pm)