in reply to Re^5: [threads] Sharing object through threads
in thread [threads] Sharing object through threads

I'm not sure where you get all the stuff about blocking and timeouts from? It doesn't appear to be derived from anything the OP posted.

If he is only ever going to need simple IO::Sockets, he might get away with it, but if he needs any of the stuff that layers atop IO::Socket, he'll find the limitations for sure.


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.
RIP PCW It is as I've been saying!(Audio until 20090817)
  • Comment on Re^6: [threads] Sharing object through threads

Replies are listed 'Best First'.
Re^7: [threads] Sharing object through threads
by ikegami (Patriarch) on Nov 17, 2009 at 22:30 UTC

    [the stuff about blocking and timeouts] doesn't appear to be derived from anything the OP posted.

    Why would I base a socket constructor on code that doesn't contruct sockets?

    but if he needs any of the stuff that layers atop IO::Socket, he'll find the limitations for sure.

    Why do you say that? It's was made for IO::Socket::INET. It should work with IO::Socket::INET clients and servers.

    Incidentally, it should also work with IO::Socket::UNIX clients and servers buy simply changing the package name on the 6th line.