in reply to Re: Networking with IO::Socket
in thread Networking with IO::Socket

You can NOT have two services listening on the same protocol/port at the same time, period.
There is a small loophole to that - the actual restriction is:
You can NOT have two services listening on the same protocol/port at the same time at the same IP address.

So - one possible workaround would be to listen ad different IP addresses, forwarding from one to the other.

There is a discussion of somewhat less clunky solutions, mirroring traffic from one port to another at:
http://stackoverflow.com/questions/7247668/duplicate-tcp-traffic-with-a-proxy.

        Our business is run on trust. We trust you will pay in advance.

Replies are listed 'Best First'.
Re^3: Networking with IO::Socket
by stevieb (Canon) on Nov 30, 2015 at 02:51 UTC
    D'oh! Very, very good point :) I'm ashamed I missed it. Good job pointing it out.