in reply to Multiple Perl files sharing a single socket - is it possible/sensible?

Your process and communication structure is not clear, calling for more questions than answers.

Are the 8 perl files running in separate perl instances (independent), or multiple threads of a parent process ? Do they open separate socket handles ?

Do they (independently/parallelly?) send data to the same end point(s) ?

How is the receiving end dealing with this ?

Is data sent via a PUSH or PULL or POLL ?

To reduce complexity, a message queue based implementation may be necessary.

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

  • Comment on Re: Multiple Perl files sharing a single socket - is it possible/sensible?