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

I'm using:
threads: 1.67 threads::shared: 1.14
Hmmmmm. I'm up 5 version on threads and 2 on threads::shared. I don't think it's threads::shared because all I'm passing is an integer number (of the IO::Socket::INET fileno()). I'll try downgrading threads and see what happens.

Replies are listed 'Best First'.
Re^13: Using Threads For Simple SMTP Relay Server
by BrowserUk (Patriarch) on Oct 31, 2007 at 19:01 UTC
      Wow, I just downloaded the code you gave and ran it on my machine. It does the exact same thing it always does. That is sooo weird. I guess we're just going to have to give up. I really appreciate your help. I suppose I'll fire up .Net and write the SMTP relay server there. I was really hoping to avoid that ;-).
      -Mike
        I guess we're just going to have to give up.... I suppose I'll fire up .Net and write the SMTP relay server there.

        Seems a shame, but good luck with that. The next step would have been to try and recruit a 3rd party with an XP box to run the cade and see if it is my setup or yours that is unusual.

        There are also a whole host of possibilities revolving around how your XP is configured--like do you use ICF or other firewall. Most of those possibilities would appear on the surface to be unlikely as a cause because your forking version is apparently working.

        The real shame is that your threaded code worked first time on my machine and continues to work.


        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.