296 Commits

Author SHA1 Message Date
fpagliughi
b8e19c806a Update to README about upcoming v2.0 release 2026-01-01 12:45:57 -05:00
fpagliughi
afdeacba94 Enabled tests in CMake 2025-03-30 17:00:30 -04:00
fpagliughi
071456d7f3 Added CI for pushes and PRs to 'develop' branch 2025-03-30 16:38:43 -04:00
fpagliughi
c5ae908ca6 Added unit tests to CI build 2025-03-30 16:36:51 -04:00
fpagliughi
80dd3cc713 Merge branch 'master' into develop 2025-03-30 16:20:36 -04:00
Frank Pagliughi
88f17fb214 Create cmake-multi-platform.yml 2025-03-30 16:16:07 -04:00
fpagliughi
aa76f3c798 Removed Travis CI files. 2025-03-30 16:09:03 -04:00
fpagliughi
cff72d00c6 Added an OpenSSL certificate class 2025-01-21 23:51:53 -05:00
fpagliughi
88654ea5ad Updates to the README 2025-01-18 17:33:09 -05:00
fpagliughi
87cfdd8ae8 Added tls_socket::peer_certificate() 2025-01-16 23:09:18 -05:00
fpagliughi
e227f81f32 Renamed 'trust_store' to 'trust_locations' and ran format over sources. 2025-01-16 18:02:52 -05:00
fpagliughi
3d99bd7036 Fixed clang doc warnings 2025-01-14 00:07:17 -05:00
fpagliughi
60ae334f3a Ran a spellcheck and fixed typos 2025-01-13 23:49:10 -05:00
fpagliughi
bda6c26ae0 Added UNIX-domain sockets to Windows and made them a CMake option for all platforms. 2025-01-13 23:11:01 -05:00
fpagliughi
96711b6dff Cleaned up CMake build. Added namespace targets for subdirectory builds. 2024-05-06 09:13:31 -04:00
fpagliughi
36af577f73 Cleanup of some OpenSSL code 2024-05-06 08:34:18 -04:00
fpagliughi
fbc68b64ac #97 Allow acceptors to choose the reuse option in the constructor 2024-02-26 10:47:07 -05:00
fpagliughi
a2d786f255 Merge branch 'master' into develop 2024-02-04 15:28:00 -05:00
Frank Pagliughi
04002daccc Merge pull request #94 from JaanDev/master
Fixed sockpp not compiling on windows 11 Clang 17.0.6 x86_64-pc-windows-msvc
2024-02-04 15:27:27 -05:00
fpagliughi
a748e86b17 Hacking away at an OpenSSL implementation (highly unstable). 2024-02-04 15:26:54 -05:00
JaanDev
10a706b722 remove vscode folder 2024-02-04 14:04:04 +03:00
JaanDev
8549d2dec1 fixed not compiling on windows clang 2024-02-04 14:03:20 +03:00
fpagliughi
10f350ee4e Cloning a socket returns a result. 2023-12-26 19:59:57 -05:00
fpagliughi
81328fbf35 Minor update to README 2023-12-26 10:24:08 -05:00
fpagliughi
a4a5f37b93 Fixed the streaming create_handle() to return a result. 2023-12-24 14:21:12 -05:00
fpagliughi
c21fc77db4 Acceptor doesn't reuse by default. Created a global text/example port constant, TEST_PORT 2023-12-24 10:59:59 -05:00
fpagliughi
d86b29fef7 Started adding socket options. Changed the acceptor reuse option to specific int option value 2023-12-23 23:58:37 -05:00
fpagliughi
b2585e4897 Cleaned up examples and result. Moved some chrono into sockpp namespace. 2023-12-23 20:22:54 -05:00
fpagliughi
7a238ee3e7 Removed socket::last_error() and cached lastErr_ member. Implemented result<> return values across the API 2023-12-20 21:04:17 -05:00
fpagliughi
f0012a21bd Updated CMake build to C++17 2023-12-17 19:45:22 -05:00
fpagliughi
d01ac04ca1 Updated README with v1.0/2.0 news. 2023-12-17 18:14:31 -05:00
fpagliughi
ded8e16f93 Fixed the documentation errors reported by clang 2023-12-17 14:14:58 -05:00
fpagliughi
939f1e2593 Added result::release() 2023-12-16 20:22:30 -05:00
fpagliughi
74b2e83355 connector bool functions now return result<none> 2023-12-16 20:22:09 -05:00
fpagliughi
c16fb75bc8 Added connector::connect() functions that take host/port and return a result. 2023-12-16 20:21:29 -05:00
fpagliughi
1b8da3b737 Reformat 2023-12-16 14:43:12 -05:00
fpagliughi
c2724fe1f3 Fixed build warnings in Win32 mingw build 2023-12-16 14:31:38 -05:00
fpagliughi
a97285e5c7 Fixed unit tests on Windows with MSVC 2023-12-16 14:31:18 -05:00
fpagliughi
9f3696583c Fixed unit tests for clang 2023-12-16 11:04:29 -05:00
fpagliughi
58c54c02dd Fixed TCP and UDP examples for name resolution errors. Fixed CANbus build error. 2023-12-11 02:06:43 -05:00
fpagliughi
f9f3a5cf96 Updated README with latest news. 2023-12-11 01:22:09 -05:00
fpagliughi
04a0ba7514 Reworked exception handling. Removed SOCKPP_WITH_EXCEPTIONS. Some few functions may throw, but now they all have a comparable noexcept overload. 2023-12-11 00:50:20 -05:00
fpagliughi
2a84e08193 Fixed TCP echo clients to propery report connect errors with or w/o exceptions. 2023-12-10 17:33:39 -05:00
fpagliughi
f3ff0d78af Added .clang-format file and used it to reformat sources. 2023-12-10 15:08:10 -05:00
fpagliughi
7f28ab7d9f Updated CHANGELOG for v0.8.2 2023-12-05 23:54:42 -05:00
fpagliughi
074a3fdec9 #89 Fixed generator expression for older CMake 2023-12-04 23:33:17 -05:00
fpagliughi
ac5ccc8e03 #91 Fixed uniform_int_distribution<> in UNIX socket example 2023-12-04 17:49:31 -05:00
fpagliughi
f81589e824 Some cleanup and documentation of the Catch2 v3.x support. 2023-06-14 17:02:27 -04:00
Frank Pagliughi
ab522ecae1 Merge pull request #84 from kotopesutility/develop
Fixed building for catch2 (>=3.0)
2023-06-14 14:49:07 -04:00
Daniel Zagaynov
2458290891 Added checking for CATCH2_V2 to tests/unit/*.cpp 2023-06-06 03:01:54 +03:00