Differences From Artifact [7d46692d8a]:
- File src/OFSocket.m — part of check-in [062a052b50] at 2010-04-17 15:46:34 on branch trunk — Don't return self where not necessary, return void or something useful. (user: js, size: 2284) [annotate] [blame] [check-ins using]
To Artifact [26b969d2ec]:
- File src/OFSocket.m — part of check-in [9d064462a3] at 2010-07-07 20:46:43 on branch trunk — Add -[fileDescriptor] to OFStream. (user: js, size: 2325) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
115 116 117 118 119 120 121 122 | #else u_long v = enable; if (ioctlsocket(sock, FIONBIO, &v) == SOCKET_ERROR) @throw [OFSetOptionFailedException newWithClass: isa]; #endif } @end | > > > > > | 115 116 117 118 119 120 121 122 123 124 125 126 127 | #else u_long v = enable; if (ioctlsocket(sock, FIONBIO, &v) == SOCKET_ERROR) @throw [OFSetOptionFailedException newWithClass: isa]; #endif } - (int)fileDescriptor { return sock; } @end |