ObjFW  Check-in [9a6b5d6cc4]

Overview
Comment:Document -[usesMPTCP] may incorrectly return false
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | mptcp
Files: files | file ages | folders
SHA3-256: 9a6b5d6cc44f538afa72ed09c5416f49e61a099c54ac1d844b2139a95288d62c
User & Date: js on 2024-11-07 21:15:45
Other Links: branch diff | manifest | tags
Context
2024-11-07
21:17
Add support for MPTCP check-in: 49f5cd5ec5 user: js tags: trunk
21:15
Document -[usesMPTCP] may incorrectly return false Closed-Leaf check-in: 9a6b5d6cc4 user: js tags: mptcp
2024-11-06
21:45
Don't compile MPTCP support on old macOS versions check-in: 3f9e0e0f07 user: js tags: mptcp
Changes

Modified src/OFTCPSocket.h from [a5332f3211] to [0b84296c9c].

124
125
126
127
128
129
130



131
132
133
134
135
136
137
#endif

/**
 * @brief Whether the socket uses MPTCP.
 *
 * If you want to use MPTCP, set this to true before connecting or binding.
 * After connecting or binding, this returns whether MPTCP was used.



 */
@property (nonatomic) bool usesMPTCP;

/**
 * @brief The host to use as a SOCKS5 proxy.
 */
@property OF_NULLABLE_PROPERTY (copy, nonatomic) OFString *SOCKS5Host;







>
>
>







124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
#endif

/**
 * @brief Whether the socket uses MPTCP.
 *
 * If you want to use MPTCP, set this to true before connecting or binding.
 * After connecting or binding, this returns whether MPTCP was used.
 *
 * @note After connecting, this method may return `false` even when MPTCP was
 *	 used. This is an OS limitation.
 */
@property (nonatomic) bool usesMPTCP;

/**
 * @brief The host to use as a SOCKS5 proxy.
 */
@property OF_NULLABLE_PROPERTY (copy, nonatomic) OFString *SOCKS5Host;