Overview
Comment: | OFDDPSocket: Bind with network, node & port |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | appletalk |
Files: | files | file ages | folders |
SHA3-256: |
707206e796d30c84b2265f5e1aa725fe |
User & Date: | js on 2022-10-22 18:32:59 |
Other Links: | branch diff | manifest | tags |
Context
2022-10-22
| ||
18:46 | Merge trunk into branch "appletalk" check-in: d1c9ed8498 user: js tags: appletalk | |
18:32 | OFDDPSocket: Bind with network, node & port check-in: 707206e796 user: js tags: appletalk | |
18:21 | Merge trunk into branch "appletalk" check-in: ec6ee4c269 user: js tags: appletalk | |
Changes
Modified src/OFDDPSocket.h from [23be4cf8bc] to [f44d814690].
︙ | |||
64 65 66 67 68 69 70 | 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 | - + - + + + | /** * @brief Bind the socket to the specified network, node and port with the * specified packet type. * * @param port The port to bind to. 0 means to pick one and return it via the * returned socket address. * @return The address on which this socket can be reached |
Modified src/OFDDPSocket.m from [d78813a978] to [b54a9f63cf].
︙ | |||
27 28 29 30 31 32 33 | 27 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 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 | - + + + - + - - - + + + + + - - - + + + + + - - - + + + + + - - - + + + + + | #import "OFAlreadyConnectedException.h" #import "OFBindDDPSocketFailedException.h" @implementation OFDDPSocket @dynamic delegate; |
Modified src/exceptions/OFBindDDPSocketFailedException.h from [7d1260c80c] to [218affa1e0].
︙ | |||
23 24 25 26 27 28 29 | 23 24 25 26 27 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 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | + - + + + + + + + + + + + + + - + - - - + + + + + + + - + - - - + + + + + | * ObjFW/OFBindDDPSocketFailedException.h * * @brief An exception indicating that binding a DDP socket failed. */ OF_SUBCLASSING_RESTRICTED @interface OFBindDDPSocketFailedException: OFBindSocketFailedException { uint16_t _network; |
Modified src/exceptions/OFBindDDPSocketFailedException.m from [cebffb005f] to [dbb639a5e2].
︙ | |||
16 17 18 19 20 21 22 | 16 17 18 19 20 21 22 23 24 25 26 27 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 67 68 69 70 71 72 73 74 75 | - + - - - + + + + + - - - + + + + + - - - + + + + + + + + - - + + | #include "config.h" #import "OFBindDDPSocketFailedException.h" #import "OFData.h" #import "OFString.h" @implementation OFBindDDPSocketFailedException |
Modified tests/OFDDPSocketTests.m from [e1d2cac77d] to [cbe290bc1c].
︙ | |||
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 | + - + - + - + | OFDDPSocket *sock; OFSocketAddress address1, address2; char buffer[5]; TEST(@"+[socket]", (sock = [OFDDPSocket socket])) @try { TEST(@"-[bindToNetwork:node:port:]", |
︙ |