Differences From Artifact [11edaa9dd3]:
- File src/OFIPSocketAsyncConnector.m — part of check-in [179b60bfb4] at 2022-10-22 17:29:39 on branch trunk — Split OFConnectSocketFailedException in subclasses (user: js, size: 5891) [annotate] [blame] [check-ins using] [more...]
To Artifact [ca32b06485]:
- File
src/OFIPSocketAsyncConnector.m
— part of check-in
[a54730b88f]
at
2022-10-22 18:41:45
on branch trunk
— OFSocket: Don't combine port for IP and IPX
While it works for those two protocols, it's a bad precedent as other
protocols have different types for ports. (user: js, size: 5893) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
134 135 136 137 138 139 140 | - (void)tryNextAddressWithRunLoopMode: (OFRunLoopMode)runLoopMode { OFSocketAddress address = *(const OFSocketAddress *) [_socketAddresses itemAtIndex: _socketAddressesIndex++]; int errNo; | | | 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 | - (void)tryNextAddressWithRunLoopMode: (OFRunLoopMode)runLoopMode { OFSocketAddress address = *(const OFSocketAddress *) [_socketAddresses itemAtIndex: _socketAddressesIndex++]; int errNo; OFSocketAddressSetIPPort(&address, _port); if (![_socket of_createSocketForAddress: &address errNo: &errNo]) { if (_socketAddressesIndex >= _socketAddresses.count) { _exception = [[OFConnectIPSocketFailedException alloc] initWithHost: _host port: _port socket: _socket |
︙ | ︙ |