Differences From Artifact [05fb60ba2c]:
- File
src/OFUDPSocket.h
— part of check-in
[4af49a13c3]
at
2017-05-07 20:10:13
on branch trunk
— Small code style change
Casts are now written like types in variable declarations. (user: js, size: 9556) [annotate] [blame] [check-ins using]
To Artifact [03e3db3557]:
- File src/OFUDPSocket.h — part of check-in [f37b373a95] at 2017-10-01 14:14:28 on branch 0.90 — Backport nullability fixes from master (user: js, size: 9556) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
155 156 157 158 159 160 161 | * @param host A pointer to an @ref OFString *. If it is not NULL, it will be * set to the host of the host / port pair. * @param port A pointer to an uint16_t. If it is not NULL, the port of the * host / port pair will be written to it. * @param address The address for which the host and port should be retrieved */ + (void)getHost: (OFString *__autoreleasing _Nonnull *_Nullable)host | | | 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 | * @param host A pointer to an @ref OFString *. If it is not NULL, it will be * set to the host of the host / port pair. * @param port A pointer to an uint16_t. If it is not NULL, the port of the * host / port pair will be written to it. * @param address The address for which the host and port should be retrieved */ + (void)getHost: (OFString *__autoreleasing _Nonnull *_Nullable)host andPort: (nullable uint16_t *)port forAddress: (of_udp_socket_address_t *)address; /*! * @brief Binds the socket to the specified host and port. * * @param host The host to bind to. Use `@"0.0.0.0"` for IPv4 or `@"::"` for * IPv6 to bind to all. |
︙ | ︙ |