Differences From Artifact [c69f2ecab6]:
- File src/OFTCPSocket.m — part of check-in [b5ea1b43c4] at 2008-12-13 15:08:22 on branch trunk — One new exception; fix one FIXME in OFTCPSocket. (user: js, size: 4956) [annotate] [blame] [check-ins using]
To Artifact [eaaeb57c56]:
- File src/OFTCPSocket.m — part of check-in [142572f90b] at 2008-12-13 19:25:35 on branch trunk — Initial attempt to port to win32. (user: js, size: 4990) [annotate] [blame] [check-ins using]
︙ | |||
15 16 17 18 19 20 21 22 23 24 25 26 27 28 | 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | + | #import <stdlib.h> #import <string.h> #import <unistd.h> #import "OFTCPSocket.h" #import "OFExceptions.h" #ifndef _WIN32 /* FIXME */ @implementation OFTCPSocket - init { if ((self = [super init])) { sock = -1; saddr = NULL; saddr_len = 0; |
︙ | |||
270 271 272 273 274 275 276 | 271 272 273 274 275 276 277 278 | + | if (saddr != NULL) [self freeMem: saddr]; saddr_len = 0; return self; } @end #endif |