Commit Graph

16 Commits (968048ced6920fe79ece0e481f1c30bac42012fc)

Author SHA1 Message Date
gabime dcd5904bdc Updated clang-format
Merged with origin
2 years ago
gabime 6de0ffa15f Updated clang format to google style 2 years ago
gabime 1f61f5e019 clang format 2 years ago
Zeus James da14258533
Fix MinGW build issue on example (#2642)
* Fix MinGW build issue on example #2638

* Move the cmake change to example\CMakeLists.txt

* Update CMakeLists.txt on the example
3 years ago
risa2000 52dc210423
Fixed compiler error when building on Windows with #define UNICODE
The original `InetPton` expands to `InetPtonW` when building with UNICODE defined and expects the string parameter to be wchar_t. On the other hand macro `TEXT()` just adds prefix `L` to a string literal (just making it wchar_t literal). The proper way here would be converting `host.c_str()` result from UTF-8(?) into wchar_t (UNICODE) string, but this seems to be an overkill since the host is typically an IP address or a host/domain name. So assuming an ASCII input should be reasonably safe.
3 years ago
gabime dc030ec53c clang-format 4 years ago
Charless Milette 44a4517e2b Support C++20 std::format as an alternative to fmtlib 4 years ago
Маркелов Максим 14eecc6e2a Unhandled errors
inet_aton(), InetPton() return codes
4 years ago
gabime bae78f7b6c Fixed comments 4 years ago
gabime 9bb66c00e9 Cleanup windows udp client 4 years ago
Chris Love 2e66a27081 Remove is_init() check on each log call 4 years ago
Chris Love 497fa60f57 Explicitly set SO_SNDBUF size to fix drops on Windows and address other PR feedback 4 years ago
Chris Love 2d1217006b Fix #ifdef WINDOWS_LEAN_AND_MEAN 4 years ago
Chris Love 444df2b287 Address PR comments 4 years ago
Chris Love 486dc5102e Winsock support 4 years ago
Chris Love a15f5137ef Fix udp sink on Windows 4 years ago