Differences From Artifact [0f410ad5c9]:
- File
src/OFTCPSocket.m
— part of check-in
[1cb8fee5c3]
at
2012-10-13 21:06:59
on branch trunk
— of_bswap* -> OF_BSWAP*.
This makes it clear that multiple evaluation of parameters is possible. (user: js, size: 15495) [annotate] [blame] [check-ins using]
To Artifact [29f21ecbe7]:
- File
src/OFTCPSocket.m
— part of check-in
[6343e04dcd]
at
2012-10-17 20:16:10
on branch trunk
— Pass exceptions on async I/O.
This makes it possible to handle exceptions that occurred during async
I/O in the specified handler. (user: js, size: 15674) [annotate] [blame] [check-ins using]
︙ | |||
84 85 86 87 88 89 90 91 92 93 94 95 96 97 | 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 | + | OFString *host; uint16_t port; id target; SEL selector; #ifdef OF_HAVE_BLOCKS of_tcpsocket_async_connect_block_t connectBlock; #endif OFException *exception; } - initWithSourceThread: (OFThread*)sourceThread socket: (OFTCPSocket*)socket host: (OFString*)host port: (uint16_t)port target: (id)target |
︙ | |||
159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 | 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 | + - + - - + + - + + - - + + + + + | [sourceThread release]; [sock release]; [host release]; [target release]; #ifdef OF_HAVE_BLOCKS [connectBlock release]; #endif [exception release]; [super dealloc]; } - (void)didConnect { [self join]; #ifdef OF_HAVE_BLOCKS if (connectBlock != NULL) |
︙ |