Differences From 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]
To Artifact [4843a4b3cd]:
- File src/OFSocket.m — part of check-in [f1dae95070] at 2009-06-02 19:25:36 on branch trunk — Improve -[readLine] in OFStream. (user: js, size: 2369) [annotate] [blame] [check-ins using]
︙ | |||
45 46 47 48 49 50 51 52 53 54 55 56 57 58 | 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 | + + + + + + + | self = [super init]; sock = INVALID_SOCKET; saddr = NULL; return self; } - (BOOL)atEndOfStream { /* FIXME: Implement this! */ return NO; } - (size_t)readNBytes: (size_t)size intoBuffer: (char*)buf { ssize_t ret; if (sock == INVALID_SOCKET) |
︙ |