Subject: | POE::Comonent::Server::TCP |
Date: | Fri, 30 Mar 2007 14:14:41 +0200 |
To: | rcaputo [...] pobox.com, rcaputo [...] cpan.org |
From: | Smets Jan <jan [...] smets.cx> |
Hi there.
I'm trying to use watermarks with POE::Component::Server::TCP , it's not
documented but I found the implementation in TCP.pm.
It accepts my HighMark, etc settings, but when a clients connect he gets
directly disconnected. I've set DEBUG on, but nothing abnormal shows up.
# $Id: TCP.pm 2106 2006-09-05 14:18:29Z bingosnet $
My code:
POE::Component::Server::TCP->new ....
...
HighMark => 12,
LowMark => 1,
ClientLow => sub { printlog("boe"); },
ClientHigh => sub { printlog("bla"); }
...
I really dont know what the problem is, the examples from
POE::Wheel::ReadWrite work just fine, perhaps you can take a look at
it if you like?
Thanks!
- Jan
--
Smets Jan
jan@smets.cx