Please show your environment. Windows?WinXP sp2, phenom quad core.
Current std.socket uses "static ~this" for WSACleanup.In this case, main thread calls "static ~this" before MyThread executes "new TcpSocket".
std.socket workarounds: 1. static ~this -> shared static ~this Main thread calls WSAStartup and WSACleanup. 2. Create reference count sample code - http://ideone.com/vRMO0 3. other? I don't know the best way.
