ObjFW  Check-in [6ddb333e74]

Overview
Comment:Minor documentation improvement
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 6ddb333e74c669340898b857d9882ce2c38ce60322dd44b6c74dd6250ac6729e
User & Date: js on 2022-10-22 12:53:33
Other Links: manifest | tags
Context
2022-10-22
15:07
Rename OFBind{ -> Socket}FailedException check-in: 35b565d369 user: js tags: trunk
13:11
configure: Check for AppleTalk support check-in: 6344ccf451 user: js tags: appletalk
12:53
Minor documentation improvement check-in: 6ddb333e74 user: js tags: trunk
12:09
OFHTTPClient: Correctly handle empty path check-in: b804fc2d16 user: js tags: trunk
Changes

Modified src/OFIPXSocket.h from [08f31366a1] to [270a469bc4].

64
65
66
67
68
69
70
71

72
73
74
75
76
77
78
79
80
64
65
66
67
68
69
70

71
72
73
74
75
76
77
78
79
80







-
+









    id <OFIPXSocketDelegate> delegate;

/**
 * @brief Bind the socket to the specified network, node and port with the
 *	  specified packet type.
 *
 * @param port The port (sometimes called socket number) to bind to. 0 means to
 *	       pick one and return it.
 *	       pick one and return via the returned socket address.
 * @param packetType The packet type to use on the socket
 * @return The address on which this socket can be reached
 * @throw OFBindFailedException Binding failed
 * @throw OFAlreadyConnectedException The socket is already bound
 */
- (OFSocketAddress)bindToPort: (uint16_t)port packetType: (uint8_t)packetType;
@end

OF_ASSUME_NONNULL_END

Modified src/OFSPXSocket.h from [f7b34dfc4b] to [40e34f28e7].

154
155
156
157
158
159
160
161

162
163
164
165
166
167
168
169
154
155
156
157
158
159
160

161
162
163
164
165
166
167
168
169







-
+








			block: (OFSPXSocketAsyncConnectBlock)block;
#endif

/**
 * @brief Bind the socket to the specified network, node and port.
 *
 * @param port The port (sometimes called socket number) to bind to. 0 means to
 *	       pick one and return it.
 *	       pick one and return via the returned socket address.
 * @return The address on which this socket can be reached
 * @throw OFBindFailedException Binding failed
 * @throw OFAlreadyConnectedException The socket is already connected or bound
 */
- (OFSocketAddress)bindToPort: (uint16_t)port;
@end

OF_ASSUME_NONNULL_END

Modified src/OFSPXStreamSocket.h from [9a246da830] to [d15837842c].

159
160
161
162
163
164
165
166

167
168
169
170
171
172
173
174
159
160
161
162
163
164
165

166
167
168
169
170
171
172
173
174







-
+








			block: (OFSPXStreamSocketAsyncConnectBlock)block;
#endif

/**
 * @brief Bind the socket to the specified network, node and port.
 *
 * @param port The port (sometimes called socket number) to bind to. 0 means to
 *	       pick one and return it.
 *	       pick one and return via the returned socket address.
 * @return The address on which this socket can be reached
 * @throw OFConnectionFailedException Binding failed
 * @throw OFAlreadyConnectedException The socket is already connected or bound
 */
- (OFSocketAddress)bindToPort: (uint16_t)port;
@end

OF_ASSUME_NONNULL_END