Stopping the server from a client

2003-08-23 Thread Jake
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 could call it like: ./serverd stop Which I figure would have to

Creating a Daemon

2003-08-23 Thread Jake
Hi, I want to create a POE server that doesn't block my terminal when I start it. I did it with a fork but I haven't seen anyone do it this way so I figure I'm missing something in POE to do it. How am I supposed to build a server that when I start it, I get my prompt back? Thanks Jay So far

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

2003-08-23 Thread Dan McCormick
On Fri, 2003-08-22 at 17:38, Rocco Caputo wrote: On Fri, Aug 22, 2003 at 03:09:59PM -0400, Dan McCormick wrote: [...] fileno() returning undef is a great way to check for a closed file. Your problem is you're ignoring it. Try this instead: unless (defined fileno $handle) {