1POE::Component::ResolveUrs:e:rSiCdoenctarri(b3u)ted PerlPODEo:c:uCmoemnptoanteinotn::Resolver::Sidecar(3)
2
3
4
6 POE::Component::Resolver::Sidecar - delegate subprocess to call
7 getaddrinfo()
8
10 version 0.921
11
13 Used internally by POE::Component::Resolver.
14
16 POE::Component::Resolver creates subprocesses to call getaddrinfo() so
17 that the main program doesn't block during that time.
18
19 The actual getaddrinfo() calling code is abstracted into this module so
20 it can be run in a separate executable program. This reduces the
21 memory footprint of forking the entire main process for just
22 getaddrinfo().
23
24 It's a strong, useful pattern that other POE::Components have
25 implemented before. POE::Quickie does it generically.
26 POE::Component::SimpleDBI and POE::Component::EasyDBI do it so their
27 DBI subprocesses are relatively lightweight.
28
29 main
30 The main code to read POE::Component::Resolver requests from STDIN and
31 write getaddrinfo() responses to STDOUT.
32
34 POE::Component::Generic is one generic implementation of this pattern.
35
36 POE::Quickie is another generic implementation of this pattern.
37
39 None known.
40
42 Except where otherwise noted, this distribution is Copyright 2011 by
43 Rocco Caputo. All rights reserved. This distribution is free
44 software; you may redistribute it and/or modify it under the same terms
45 as Perl itself.
46
47
48
49perl v5.34.0 2022-01-2P1OE::Component::Resolver::Sidecar(3)