[Issue 4344] Sockets with multiple threads report missing/failed WSAStartup

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Aug 10 01:34:15 PDT 2010


http://d.puremagic.com/issues/show_bug.cgi?id=4344


Rainer Schuetze <r.sagitario at gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |r.sagitario at gmx.de


--- Comment #2 from Rainer Schuetze <r.sagitario at gmx.de> 2010-08-10 01:34:13 PDT ---
After several hours of debugging I found the problem with the non-shared
destructor aswell.

"shared static ~this" seems to do the trick for now, but when building a DLL,
unloading it will also kill connections of the whole application. I'd say the
calls to WSAStartup and WSACleanup should be explicite.

Fortunately, in my case, the DLL is never unloaded...

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list