Releases: eclipse-ecal/udpcap
Releases · eclipse-ecal/udpcap
v2.0.1
What's Changed
- Fixed a bug that caused a deadlock when binding to an IP that is not assigned to any network interface. by @FlorianReimold in #15
Full Changelog: v2.0.0...v2.0.1
Udpcap v2.0.0
Core Changes:
- Fixed issue that datagrams would be lost if they received faster than the user polled
receiveDatagram()
- Changed API of
receiveDatagram()
function- The
std::vector<char>
variant does not exist anymore. Use thechar*
method instead and allocate the vector yourself, if you need to. - The function now return error reasons the reason as
udpcap::Error
- The
- Added
isClosed()
function - Removed
hasPendingDatagram()
function - Fixed a memory leak
- Fixed crashes when closing the socket with close()
- Fixed many compiler and clang-tidy warnings
Tests:
- Added GTest as possible dependency. It can be fetched via cmake at configure-time.
- Added Tests
CMake:
- Added support for
UDPCAP_LIBRARY_TYPE
to control the library type without settingBUILD_SHARED_LIBS
- Added new options to build / fetch gtest
Dependencies:
- Updated default Pcap++ dependency to 22.11
- Fixed detection of x64 vs x86 dependencies
Full Changelog: v1.0.2...v2.0.0
Udpcap v1.0.2
- Improved udpcapConfig.cmake with find_dependency and a relative path to the Targets.cmake file
There are no actual code changes
Udpcap v1.0.1
- CMake: Changed internal
pcappluplus::pcappluplus
andnpcap::npcap
targets to lowercase. They were written in CamelCase before.
This makes it compatible with the target names from conan.io and reflects what the Readme.md had already stated.
Udpcap v1.0.0
This is the initial first release of Udpcap.