ObjFW  Check-in [4fa1ac90d7]

Overview
Comment:OFDDPSocket: Fix minor documentation mistake
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | appletalk
Files: files | file ages | folders
SHA3-256: 4fa1ac90d736769f789aa6ab58156e87d3c70332db19cdc5abd2403210b04e7d
User & Date: js on 2022-10-22 18:49:24
Other Links: branch diff | manifest | tags
Context
2022-10-22
20:10
configure: Include sys/types.h for netatalk/at.h check-in: 0f4aa7ff6f user: js tags: appletalk
18:49
OFDDPSocket: Fix minor documentation mistake check-in: 4fa1ac90d7 user: js tags: appletalk
18:46
Merge trunk into branch "appletalk" check-in: d1c9ed8498 user: js tags: appletalk
Changes

Modified src/OFDDPSocket.h from [f44d814690] to [60c1c8ded4].

58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
 * @note The delegate is retained for as long as asynchronous operations are
 *	 still ongoing.
 */
@property OF_NULLABLE_PROPERTY (assign, nonatomic)
    id <OFDDPSocketDelegate> delegate;

/**
 * @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
 * @throw OFBindDDPSockeFailedException Binding failed
 * @throw OFAlreadyConnectedException The socket is already bound
 */
- (OFSocketAddress)bindToNetwork: (uint16_t)network
			    node: (uint8_t)node
			    port: (uint8_t)port;
@end

OF_ASSUME_NONNULL_END







|
<













58
59
60
61
62
63
64
65

66
67
68
69
70
71
72
73
74
75
76
77
78
 * @note The delegate is retained for as long as asynchronous operations are
 *	 still ongoing.
 */
@property OF_NULLABLE_PROPERTY (assign, nonatomic)
    id <OFDDPSocketDelegate> delegate;

/**
 * @brief Bind the socket to the specified network, node and port.

 *
 * @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
 * @throw OFBindDDPSockeFailedException Binding failed
 * @throw OFAlreadyConnectedException The socket is already bound
 */
- (OFSocketAddress)bindToNetwork: (uint16_t)network
			    node: (uint8_t)node
			    port: (uint8_t)port;
@end

OF_ASSUME_NONNULL_END