in reply to Re^2: Socket hang. (Windows or Perl? Solutions?) (Updated)
in thread Socket hang. (Windows or Perl? Solutions?) (Updated)

If you are in search of a fast IPC facility, maybe ZeroMQ (resp. 0 MQ) is of interest. It claims to provide quick connections, both in- and inter-process, and even across machines.

The test failures are somewhat weird. It is developed by tsee, so I presume there is an actual use case behind it.

  • Comment on Re^3: Socket hang. (Windows or Perl? Solutions?) (Updated)

Replies are listed 'Best First'.
Re^4: Socket hang. (Windows or Perl? Solutions?) (Updated)
by BrowserUk (Patriarch) on Apr 06, 2011 at 23:13 UTC

    ZeroMQ looks interesting, but I don't think it would help for my scenario. I could work around the OP problem if I could maintain long-lived connections between the ports, but that isn't the way it works.

    If I tried to use ZeroMQ, in the same, new connection, one-shot Q&A and drop connection as in the OP, ZeroMQ would encounter the exact same problems of port starvation as my code did.

    I'm hoping I can achieve better throughput using UDP, but as I've never really done much with it, it is all a bit of a mystery to me.


    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.