Differences From Artifact [17814ea548]:
- File src/OFSocket.m — part of check-in [94ea6848a8] at 2009-05-24 18:04:09 on branch trunk — Always use #include "config.h" instead of #import "config.h". (user: js, size: 2242) [annotate] [blame] [check-ins using]
To Artifact [309a255317]:
- File src/OFSocket.m — part of check-in [282aadb9df] at 2009-05-29 09:28:39 on branch trunk — Always use [self alloc]. (user: js, size: 2299) [annotate] [blame] [check-ins using]
︙ | |||
30 31 32 33 34 35 36 37 38 39 40 41 42 43 | 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | + + + + + | if (self != [OFSocket class]) return; if (WSAStartup(MAKEWORD(2, 0), &wsa)) @throw [OFInitializationFailedException newWithClass: self]; } #endif + socket { return [[[self alloc] init] autorelease]; } - init { self = [super init]; sock = INVALID_SOCKET; saddr = NULL; |
︙ |