Re: PoCo::Net::OSCAR -- solved!

2003-08-24 Thread Rocco Caputo
On Sat, Aug 23, 2003 at 04:04:26PM -0400, Dan McCormick wrote: [...] Furthermore, tracing through POE's guts, when we call $kernel-select($socket) in rd_ok or wr_ok with an invalid socket, it ends up at _data_handle_remove, in which the second line that calls fileno($handle) returns undef.

Re: Stopping the server from a client

2003-08-24 Thread Rocco Caputo
On Sat, Aug 23, 2003 at 01:10:04PM -0500, Jake wrote: Hi, Can I stop the server from a client? I wanted to build a POE script that would accept start and stop arguments. that is I could call it like: ./serverd start And it would start my server (which I know how to do). Then I

Follow-up: POE::Wheel::ReadLine problem

2003-08-24 Thread Phil Nadeau
Hello POE, I noticed the problem that Bruno Boettcher was having with POE::Wheel::ReadLine and I am having a similar problem. I'm writing in with my observations. First, system is Linux 2.4.20, Perl is 5.8.0, POE is 0.26. Term::ReadKey is 1.7. I'm using libtermcap-compat, which may not be the

Re: Creating a Daemon

2003-08-24 Thread Jake
Thanks, I didn't know about Net::Server::Daemonize. I've got it working now, Thanks Jay Rocco Caputo [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Sat, Aug 23, 2003 at 01:05:15PM -0500, Jake wrote: Hi, I want to create a POE server that doesn't block my terminal when I

Re: Creating a Daemon

2003-08-24 Thread sungo
Sam Vilain wrote: If you're going to ignore the appropriate module, you should at least also disassociate from the terminal and set a new process session ID: i developed that methodology BEFORE the module even existed so NYEH :) -- Matt Cashner http://eekeek.org

Re: Creating a Daemon

2003-08-24 Thread Sam Vilain
On Sun, 24 Aug 2003 00:10, sungo wrote; su fork and exit unless DEBUG; # provided of course you have a su DEBUG constant very early in your program. that way, in debug su mode, the program will stay attached and spew its debug su content. otherwise, it will daemonize. If you're going to

Re: Follow-up: POE::Wheel::ReadLine problem

2003-08-24 Thread Rocco Caputo
On Sat, Aug 23, 2003 at 09:54:10PM -0700, Phil Nadeau wrote: Hello POE, I noticed the problem that Bruno Boettcher was having with POE::Wheel::ReadLine and I am having a similar problem. I'm writing in with my observations. First, system is Linux 2.4.20, Perl is 5.8.0, POE is 0.26.