Overview
Comment: | OFSCTPSocket: Return socket address bound to |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | sctp |
Files: | files | file ages | folders |
SHA3-256: |
c34be99f15b180d99bc020cff3cd3861 |
User & Date: | js on 2024-04-28 18:25:57 |
Other Links: | branch diff | manifest | tags |
Context
2024-04-28
| ||
20:32 | OFSCTPSocket: Document exceptions check-in: 7c8346a056 user: js tags: sctp | |
18:25 | OFSCTPSocket: Return socket address bound to check-in: c34be99f15 user: js tags: sctp | |
18:15 | Merge trunk into branch "sctp" check-in: bd2d723910 user: js tags: sctp | |
Changes
Modified src/OFSCTPSocket.h from [4e07124e27] to [f3fd87dead].
︙ | |||
144 145 146 147 148 149 150 | 144 145 146 147 148 149 150 151 152 153 154 155 156 | - + - + | /** * @brief Bind the socket to the specified host and port. * * @param host The host to bind to. Use `@"0.0.0.0"` for IPv4 or `@"::"` for * IPv6 to bind to all. * @param port The port to bind to. If the port is 0, an unused port will be * chosen, which can be obtained using the return value. |
Modified src/OFSCTPSocket.m from [23fe3787d2] to [ea0f96d7d6].
︙ | |||
211 212 213 214 215 216 217 | 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 | - + | block: block] autorelease] startWithRunLoopMode: runLoopMode]; objc_autoreleasePoolPop(pool); } #endif |
︙ | |||
263 264 265 266 267 268 269 | 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 | - - - - - - + + - + + + + + + | @throw [OFBindIPSocketFailedException exceptionWithHost: host port: port socket: self errNo: errNo]; } |
︙ |
Modified tests/OFSCTPSocketTests.m from [61d02ea1d1] to [b41fd34ef1].
︙ | |||
28 29 30 31 32 33 34 | 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 | - + - + - + + | @interface OFSCTPSocketTests: OTTestCase @end @implementation OFSCTPSocketTests - (void)testSCTPSocket { OFSCTPSocket *server, *client, *accepted; |