|
Posted by Anthony on November 27, 2004, 11:32 am
Please log in for more thread options
I saw (and tried a modified version of) ForkOnAccept buried in examples
for SOAP::Lite, to no avail.
What I want to do is get a SOAP server that forks for TCP connections. I
would have thought this would be easy, but since the server for TCP is
run like this:
my $daemon = SOAP::Transport::TCP::Server
->new(LocalAddr => $host, LocalPort => $port, Listen => 5);
$daemon->dispatch_to('Command');
print "SOAP TCP server listening...n";
print " Host: ", $daemon->sockhost, "n";
print " Port: ", $daemon->sockport, "n";
$daemon->handle();
I don't get a chance to catch and fork on the accept. Any ideas?
TIA,
Tony
|