in reply to Re: thread failed to start?
in thread thread failed to start?

You don't need to create more than one server socket if you Reuse

you can:

my $server = new IO::Socket::INET( Proto => "tcp", LocalPort => 7001, Listen => 5, Reuse => 1) || die "failed to establish socket\n";
And then accept in the thread.