Overview
Comment: | OFTCPSocket: -[setBlocking:] on new connections |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
02073abe82f66a5eadedec3164d7cb2b |
User & Date: | js on 2018-10-06 19:41:53 |
Other Links: | manifest | tags |
Context
2018-10-06
| ||
20:21 | OFDNSResolver: Add sync resolve socket addresses check-in: 22700e6082 user: js tags: trunk | |
19:41 | OFTCPSocket: -[setBlocking:] on new connections check-in: 02073abe82 user: js tags: trunk | |
19:36 | OFTCPSocket: Implement sync connect via async check-in: c5c4d38220 user: js tags: trunk | |
Changes
Modified src/OFTCPSocket.m from [b569f752f9] to [8eaed27d7d].
︙ | ︙ | |||
226 227 228 229 230 231 232 233 234 235 236 237 238 239 | [_socketAddresses release]; [super dealloc]; } - (void)didConnect { #ifdef OF_HAVE_BLOCKS if (_block != NULL) _block(_socket, _exception); else { #endif void (*func)(id, SEL, OFTCPSocket *, id, id) = (void (*)(id, SEL, OFTCPSocket *, id, id)) | > > > | 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 | [_socketAddresses release]; [super dealloc]; } - (void)didConnect { if (_exception == nil) [_socket setBlocking: true]; #ifdef OF_HAVE_BLOCKS if (_block != NULL) _block(_socket, _exception); else { #endif void (*func)(id, SEL, OFTCPSocket *, id, id) = (void (*)(id, SEL, OFTCPSocket *, id, id)) |
︙ | ︙ |