Re: Combining services.
[email protected] (Antti Linno) Wed, 30 Jan 2013 19:29:05 +0200
| Newsgroups | perl.poe |
|---|---|
| Message-ID | <CA+9KM++uan7C5m5hqjtXUxLhwAPYcTLd2hjXqNtPmVBqy6xhwQ@mail.gmail.com> |
--f46d04016defdd9f7104d484d802 Content-Type: text/plain; charset=ISO-8859-1 Thank you. You saved me from fourth standalone daemon :D On Wed, Jan 30, 2013 at 5:09 PM, Rocco Caputo <[email protected]> wrote: > On Jan 30, 2013, at 09:49, Antti Linno wrote: > > > > Or I need advice, how to merge several sungo's( > > http://poe.perl.org/?POE_Cookbook/TCP_Servers) daemons into one > package, if > > someone would be so kind. Adding UDP should be fairly similar then. > > > Any hints, second opinion(maybe not to merge TCP and UDP), or code > examples > > are welcome :) > > > I've attached a working version of your sample code. It starts two TCP > servers and a UDP service, and lets them all run at once in the same > process. > > -- > Rocco Caputo <[email protected]> > > > > > > --f46d04016defdd9f7104d484d802--