szaszm commented on code in PR #2084:
URL: https://github.com/apache/nifi-minifi-cpp/pull/2084#discussion_r2691409043
##########
libminifi/test/libtest/unit/TestUtils.h:
##########
@@ -170,11 +170,16 @@ bool countLogOccurrencesUntil(const std::string& pattern,
const size_t occurrences,
const std::chrono::milliseconds max_duration,
const std::chrono::milliseconds wait_time =
50ms);
+
+struct UdpNetworkSendResult {
+ std::error_code ec;
+ std::optional<asio::ip::udp::endpoint> local_endpoint = std::nullopt;
+};
Review Comment:
The only upside is being able to specify in the name that the returned
endpoint address/port is the local one, but I'm open to changing it
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]