Differences From Artifact [a5332f3211]:
- File
src/OFTCPSocket.h
— part of check-in
[4e763857b8]
at
2024-10-28 23:46:55
on branch mptcp
— Initial MPTCP implementation for macOS/iOS
Unfortunately, I haven't found a way to reliably check if a connection
is using MPTCP on macOS/iOS yet, so -[usesMPTCP] always returns false
for now. In my tests with SIOCGCONNINFO, the flags were always 0. (user: js, size: 9082) [annotate] [blame] [check-ins using]
To Artifact [0b84296c9c]:
- File src/OFTCPSocket.h — part of check-in [9a6b5d6cc4] at 2024-11-07 21:15:45 on branch mptcp — Document -[usesMPTCP] may incorrectly return false (user: js, size: 9199) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
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; |
︙ | ︙ |