Differences From Artifact [f1c982e206]:
- File src/OFSocket.m — part of check-in [4c6d6c56ac] at 2009-05-15 22:59:30 on branch trunk — As we memset our ivars to 0, get rid of some useless ivar inits. (user: js, size: 2199) [annotate] [blame] [check-ins using]
To Artifact [ae3a81111f]:
- File src/OFSocket.m — part of check-in [e0163c30a9] at 2009-05-23 01:59:42 on branch trunk — Prevent + initialize from being called twice. (user: js, size: 2241) [annotate] [blame] [check-ins using]
︙ | |||
22 23 24 25 26 27 28 29 30 31 32 33 34 35 | 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | + + + | #endif @implementation OFSocket #ifdef _WIN32 + (void)initialize { WSADATA wsa; if (self != [OFSocket class]) return; if (WSAStartup(MAKEWORD(2, 0), &wsa)) @throw [OFInitializationFailedException newWithClass: self]; } #endif - init |
︙ |