On Fri, 20 Jul 2001 09:11:33 -0400  Rocco Caputo wrote:
 +------------------
 | On Thu, Jul 19, 2001 at 10:40:25PM -0600, Chris Fedde wrote:
 | > Is it posible for the POE::Wheel::SocketFactory to bind to more than one I
P
 | > address or does that reqire multiple factories?
 | 
 | It can if they're all on the same subnet.  A BindAddress of 10.1.2.0
 | should bind a socket factory to 10.1.2.0/24.
 | 
 | If you mean several separate bind() calls, each to a completely
 | different address, no.  I didn't know that's possible.  If it is, I
 | can extend SocketFactory to accept a list reference for bind
 | addresses: BindAddress => [ '10.1.2.3', '10.2,4,6', '10.3.6.9' ]
 +------------------

As you have done in your proxy.perl example I think that the best
current solution is to start multple factories.  I'm going to be
using that as the paradigm for my current project.

As Anton Berezin points out a higher level abstraction might be useful.
But I'm probably not the one to do that.

chris
--

Reply via email to