@@ -29,16 +29,18 @@ { return [[[OFTCPSocket alloc] init] autorelease]; } #ifdef _WIN32 -+ (void)initialize ++ initialize { WSADATA wsa; if (WSAStartup(MAKEWORD(2, 0), &wsa)) @throw [OFInitializationFailedException newWithClass: self]; + + return self; } #endif - init {