Re: POE message not sent or received

2006-02-25 Thread lanas
On Sat, 25 Feb 2006 12:39:20 -0500 Rocco Caputo <[EMAIL PROTECTED]> wrote: Rocco, > It would be more efficient to address the client connection's > session directly rather than bounce your messages off > POE::Component::Server::TCP's main listening session. Got it, finally. Now's the time to

Re: POE message not sent or received

2006-02-25 Thread lanas
On Sat, 25 Feb 2006 12:39:20 -0500 Rocco Caputo <[EMAIL PROTECTED]> wrote: > It would be more efficient to address the client connection's > session directly rather than bounce your messages off > POE::Component::Server::TCP's main listening session. I think I'm beginning to see what you're say

threads and poe?

2006-02-25 Thread Whitney Jackson
>From the FAQ: "POE currently is not thread-safe, in that you can't run entire sessions within subthreads. POE is very flexible, however. It may be possible to spawn threads for dedicated tasks, and pass information back and forth using Thread::Queue. To our knowledge, nobody has done this yet."

Re: POE message not sent or received

2006-02-25 Thread lanas
On Sat, 25 Feb 2006 12:39:20 -0500 Rocco Caputo <[EMAIL PROTECTED]> wrote: Hi, > > Would it be otherwise possible, by using a Socket Factory and a R/W > > Wheel instead of a component ? Would two servers built like this > > be able > > to communicate to each other using POE messages targeted at t

Re: POE message not sent or received

2006-02-25 Thread lanas
On Sat, 25 Feb 2006 11:45:36 -0600 "Matt Sickler" <[EMAIL PROTECTED]> wrote: Hi, > What is it that your trying to accomplish? This will help us suggest > what to use. It's a middleman between a source of data and a requester of data. Both of these being already existing entities using TCP. The

Re: POE message not sent or received

2006-02-25 Thread Matt Sickler
What is it that your trying to accomplish? This will help us suggest what to use. On 2/25/06, lanas <[EMAIL PROTECTED]> wrote: > Rocco Caputo <[EMAIL PROTECTED]> wrote: > > Hi, > > > {Inline,Object,Package}States apply to each connection session, not > > the main server session for the component.

Re: POE message not sent or received

2006-02-25 Thread Rocco Caputo
On Feb 25, 2006, at 10:43, lanas wrote: Rocco Caputo <[EMAIL PROTECTED]> wrote: {Inline,Object,Package}States apply to each connection session, not the main server session for the component. You can certainly send arbitrary messages to the server session, but it will not handle them. Is th

Re: POE message not sent or received

2006-02-25 Thread lanas
Rocco Caputo <[EMAIL PROTECTED]> wrote: Hi, > {Inline,Object,Package}States apply to each connection session, not > the main server session for the component. You can certainly send > arbitrary messages to the server session, but it will not handle them. Is there a way, then, for a session to te