Re: New undertaking with POE: network identification

2003-07-08 Thread Fletch
And if I might follow up myself: The uploaded file POE-Component-Pcap-0.04.tar.gz has entered CPAN as file: $CPAN/authors/id/F/FL/FLETCH/POE-Component-Pcap-0.04.tar.gz size: 6940 bytes md5: 11c6e6babcb8ee0b6a3c247c04059dc1 This version runs under POE 0.26 and fixes a problem on

Re: New undertaking with POE: network identification

2003-07-08 Thread Fletch
lt on top of POE::Component::Pcap (which sits on top of Net::Pcap). It's in the eg/ directory of the distribution. -- Fletch| "If you find my answers frightening, __`'/| [EMAIL PROTECTED] | Vincent, you should cease askin'

Re: Implementing a SOAP server with SOAP::Lite and POE

2002-04-12 Thread Fletch
I'd started playing with a POE::Component::SOAP. I don't remember how far I'd gotten with it, but a tarball is available. http://phydeaux.org/perl/POE-Component-SOAP-0.01.tar.gz -- Fletch| "If you find my answers frightening, __`

Tickling POE::Kernel asserts and traces

2002-02-20 Thread Fletch
Hate having to clutter up your code with big, ugly BEGIN blocks to enable event tracing? http://poe.perl.org/?POE_RFCs/POE_Debug -- Fletch| "If you find my answers frightening, __`'/| [EMAIL PROTECTED] | Vincent, you should cease askin'

Patch: WML output for poing

2002-01-30 Thread Fletch
--- # Load new stuff from a configuration file. @@ -476,6 +563,16 @@ next; } + if( /^log_wml\s+(.+?)$/ ) { +open( $wml_fh, ">$1" ) + or die "Can't open wml log `$1' for writing: $!\n"; +truncate( $wml_fh, 0 ); + +select( (s

Re: Killing sessions

2001-12-06 Thread Fletch
; event that tells the session/object/whatever to stop what it's doing and close up shop. (Of course I probably picked up doing it this way from other PoCo's . . . :) -- Fletch| "If you find my answers frightening, __`'/| [EMAIL PROTECTED]

Re: getting a list of sessions?

2001-10-11 Thread Fletch
>>>>> "Rocco" == Rocco Caputo <[EMAIL PROTECTED]> writes: Rocco> On Fri, Oct 05, 2001 at 01:49:24PM -0400, Fletch wrote: >> Untested, but here's a broadcast session implementation. >> Without too much effort you could probably sub

Re: getting a list of sessions?

2001-10-05 Thread Fletch
already a listener my @idx = $self->_locate_target( $target ); return unless @idx; ## Splice element in question out of listener list $self->_listeners_splice( $idx[0], 1 ); return } ## ## _locate_target -- return index that $target occurs at (if any) ## sub _locate_target {

Re: POE and POE::Component::IRC

2001-10-02 Thread Fletch
ut I'm not sure H> how I would do this otherwise. The post doesn't work in the child because it's in a different process (and hence has no connection to the parent's kernel). If you need a child process, use POE::Wheel::Run instead of forking for yourself. -

Re: FW: FW: Message sizes

2001-10-01 Thread Fletch
cator (for my app) and look Bob> for that. Welcome to the wonderful world of creating a wire format! :) On a somewhat tangentally related note, has anyone looked at BEEP (nee BXXP) and doing some sort of POE (or for that matter Perl) support for it? http://www.bxxp.org/beepcore/hom

Re: Non-blocking DBI?

2001-09-17 Thread Fletch
s are joined together with `|' as the seperator and the request is put() to the next helper in line. The db_reply handler splits the result back and posts another event with the information on to another se

Re: Non-blocking DBI?

2001-09-17 Thread Fletch
de handling the DBI chunk into its own seperate program that you can unit test independently. -- Fletch| "If you find my answers frightening, __`'/| [EMAIL PROTECTED] | Vincent, you shou

Re: Non-blocking DBI?

2001-09-17 Thread Fletch
ilable helper in a round robin fashion. The helper is just a while loop that reads requests, parses out the relevant data (split /\|/, $req), executes a pre-prepare'd statement, and then prints the result back to the main process. Not exactly what you're looking for, but it

Re: Fun With Wheel::Run

2001-08-28 Thread Fletch
It might be worth abstracting out some of these frameworks (or maybe `poetterns' would be more apropos . . . :) and having examples of `here's how to start a session that processes input lines', `here's a daemon that starts N helpers with Wheel::Run to handle concurren

Re: Napster!

2001-08-07 Thread Fletch
y working so I didn't need to rely on s_client and stunnel). The RPC::XML class has everything to do request encoding and decoding, it's just a matter of getting transports that use PoCo::Client:HTTP and what not together. -- Fletch| "If you find my answers frighteni

Initial alpha version of POE::Wheel::SSLSocketFactory

2001-08-05 Thread Fletch
top the server. The other option is to use the `eg/testclient.plx' program. It will default to connecing to `localhost:' (specify a hostname to connect to hostname:, or host:port to specify another port). $Id: README,v 1.2 2001/08/05 20:46:56 fletch Exp $ -- Fletch

Re: SECURITY!!!!!

2001-08-03 Thread Fletch
#x27;m going to be poking (or would that be poeking :) at it today to try and get the certificate stuff straightened out. -- Fletch| "If you find my answers frightening, __`'/| [EMAIL PROTECTED] | Vincent, you should cease aski

Re: HTTPS

2001-07-26 Thread Fletch
>>>>> "Philip" == liste <[EMAIL PROTECTED]> writes: [...] Philip> Maybe POE::Driver::SSL would wimp out and open an stunnel, Philip> then pass responsibility on to a SysRW or something. Or start a Wheel::Run `openssl s_client ...'. -

Re: HTTPS

2001-07-26 Thread Fletch
. They don't. I'd piddled some at writing a POE::Driver::SSL and POE::Wheel::SSLSocetFactory which sat on top of Net::SSLeay, but I didn't get too far with it (I just wimp'd out and switched to something kludgy using stunnel instead of doing the SSL myself). If there'

Re: Preforked server where only children process requests?

2001-07-19 Thread Fletch
7;ve done exactly the same thing for the same reason (needing to do DBI calls so I start a couple of helpers with POE::Wheel::Run). /me wonders if any of the `popular' database APIs provide a way to make calls asynchronously, and if there might not be a way to get DBDs to sit on top of those.

Re: POE Garbage Collection

2001-07-17 Thread Fletch
e that you've got a `return' as the last line of your subs. -- Fletch| "If you find my answers frightening, __`'/| [EMAIL PROTECTED] | Vincent, you should cease askin' \ o.O' 770 933-0600 x211(w) | scary questions." -- Jules=(___)= | U

Re: POE::Filter::Reference patch

2001-07-12 Thread Fletch
>>>>> "Philip" == gwynp <[EMAIL PROTECTED]> writes: Philip> On 13-Jul-2001 Fletch wrote: >> If $freezer contains a package name then: >> >> >> eval qq{require $freezer; $freezer->import()}; >> >

Re: POE::Filter::Reference patch

2001-07-12 Thread Fletch
PR is a bareword, the require assumes a ".pm" extension and replaces "::" with "/" in the filename for you, to make it easy to load standard modules. This form of loading of modules does not risk altering your nam

Re: Beyond IKC/monitor : SENDER, session death and more

2001-06-21 Thread Fletch
but does anyone have any experience using both POE and Stem together? -- Fletch| "If you find my answers frightening, __`'/| [EMAIL PROTECTED] | Vincent, you should cease askin'

Re: Server pinging

2001-03-06 Thread Fletch
d things that people are working on that haven't made it to CPAN yet (like the POE::Component::SOAP::Server::TCP and friends that I'm piddling with). -- Fletch| "If you find my answers frightening, __`'/| [EMAIL PROTECTED] |