in reply to Re^6: Using Threads For Simple SMTP Relay Server
in thread Using Threads For Simple SMTP Relay Server

Two questions:

  1. The forking version that works using your (mostly unposted and admittedly broken) Client3 code is running on a Win32 system under ActiveState perl?
  2. If you substitute Net::SMTP::Server::Client2 for your Client3 code, the threaded version works on your system?

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.
"Too many [] have been sedated by an oppressive environment of political correctness and risk aversion."
  • Comment on Re^7: Using Threads For Simple SMTP Relay Server

Replies are listed 'Best First'.
Re^8: Using Threads For Simple SMTP Relay Server
by lamberms (Sexton) on Oct 31, 2007 at 12:41 UTC
    I took those lines out of it and so ... not broken anymore and yes, it works with Client2 with forking but not with threads. I get the exactly the same result with the unmodified Client2 module.
        My versions are:
        Perl - 5.8.8 Build 822
        Net::SMTP - 2.31
        Net::SMTP::Server::Client2 - 0.2

        I'm sorry if I'm being dense. I'm really not trying to be.