Differences From Artifact [ddb40125e5]:
- File src/OFSocket.h — part of check-in [282aadb9df] at 2009-05-29 09:28:39 on branch trunk — Always use [self alloc]. (user: js, size: 985) [annotate] [blame] [check-ins using]
To Artifact [2c2229f73b]:
- File src/OFSocket.h — part of check-in [41d7910a65] at 2009-06-09 13:10:44 on branch trunk — Implement -[atEndOfStream] for OFSocket. (user: js, size: 997) [annotate] [blame] [check-ins using]
︙ | |||
39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 | 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 | + | #ifndef _WIN32 int sock; #else SOCKET sock; #endif struct sockaddr *saddr; socklen_t saddr_len; BOOL eos; } /** * \return A new autoreleased OFTCPSocket */ + socket; /** * Enables/disables non-blocking I/O. */ - setBlocking: (BOOL)enable; @end |