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

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.
  • Comment on Re^4: Socket hang. (Windows or Perl? Solutions?) (Updated)