Would the way I was thinking present problems? Jay ----- Original Message ----- From: "Alex J. Avriette" <[EMAIL PROTECTED]> To: "Jay Strauss" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Saturday, March 06, 2004 8:15 AM Subject: Re: Preventing connections with POE::Component::Server::TCP
> On Sat, Mar 06, 2004 at 07:50:13AM -0600, Jay Strauss wrote: > > I think I did not explain my problem correctly. > > You did explain it correctly, and Rocco answered correctly. > > > The idea is the Client::TCP connects to a stock quote server somewhere else > > on the network. The Server::TCP lets local clients connect to it. I'd like > > to prevent the local clients from connecting (or shut down the Server::TCP > > completely) when the quote server is unavailable. > > In this circumstance, I would think it would be fairly easy to use something > like Wheel::SocketFactory and just delete the whell when your connection to > the quote server went away. At that point, you could just set a delay to poll > for when it comes back, and reinstantiate your wheels. > > alex > -- > [EMAIL PROTECTED] > Alex J. Avriette, Microsoft Certified Power User > Give a homeless hax0r a home today! Run Debian! > >
