Commit Graph

  • 58e9c6cf78 Renmaes CAN classes from can_* to canbus_* to avoid collisions with C structs, etc develop fpagliughi 2026-01-03 19:40:12 -05:00
  • eb917d0e75 Started test for CAN frames fpagliughi 2026-01-03 18:57:09 -05:00
  • cd80b6bb15 Can converet CAN frames back and forth to FD fpagliughi 2026-01-03 15:17:13 -05:00
  • 5fff6804b3 Removed CAN send_to() and recv_from() as they don't make sense. fpagliughi 2026-01-02 19:16:16 -05:00
  • bf5fa4b652 Added initial support for CAN FD on Linux fpagliughi 2026-01-02 18:49:28 -05:00
  • 99a92afa88 Added checks for unix and CAN addresses when converting from generic addresses. Fixed CANbus build fpagliughi 2026-01-02 00:12:15 -05:00
  • e27f851b8e Added checks for inet and inet6 addresses when converting from generic addresses. fpagliughi 2026-01-01 18:52:28 -05:00
  • bde37a09a4 Merge branch 'readme-update' into develop fpagliughi 2026-01-01 12:50:01 -05:00
  • b8e19c806a Update to README about upcoming v2.0 release master fpagliughi 2026-01-01 12:45:57 -05:00
  • 7f42b0d41d Added a README to the gh-pages branch gh-pages fpagliughi 2026-01-01 11:34:58 -05:00
  • f9b1c38098 Added address page to the mdBook fpagliughi 2025-12-31 16:56:56 -05:00
  • f23f8dfed8 Added CANbus page to mdBook fpagliughi 2025-12-30 19:18:51 -05:00
  • cbcb4fd0c6 Started adding content to the mdBook fpagliughi 2025-12-30 17:52:02 -05:00
  • ff4bac1d9f mdbook fpagliughi 2025-12-30 11:49:27 -05:00
  • b1e3ee556b Merge pull request #110 from fpagliughi/fpagliughi-patch-1 Frank Pagliughi 2025-12-30 11:47:43 -05:00
  • 539c06e2ee Merge branch 'gh-pages' into fpagliughi-patch-1 fpagliughi-patch-1 Frank Pagliughi 2025-12-30 11:47:33 -05:00
  • c41943d28e Add GitHub Actions workflow for mdBook deployment Frank Pagliughi 2025-12-30 11:45:53 -05:00
  • eacb9809e7 Added mdBook actions deploy fpagliughi 2025-12-30 11:34:17 -05:00
  • a18c24eb5d Initial (empty) mdBook fpagliughi 2025-12-30 11:10:04 -05:00
  • 31b7936136 Added OpenSSL connector::connect() and auto_retry. fpagliughi 2025-12-29 20:45:02 -05:00
  • fe4712fb5f TLS connector can be created without connecting so that TLS options can be set before connecting. fpagliughi 2025-12-28 23:01:31 -05:00
  • bc1d6912d3 Merge pull request #109 from hshakula/fix-implicit-copy-operator-warning v1.x Frank Pagliughi 2025-12-18 18:58:03 -05:00
  • f96a683b10 Fix implicitly-declared copy assignment operator deprecated warning George Shakula 2025-10-28 11:48:07 +02:00
  • 6cdb47baf8 Using static libs for CI fpagliughi 2025-03-30 17:37:54 -04:00
  • afdeacba94 Enabled tests in CMake fpagliughi 2025-03-30 17:00:30 -04:00
  • 071456d7f3 Added CI for pushes and PRs to 'develop' branch fpagliughi 2025-03-30 16:38:43 -04:00
  • c5ae908ca6 Added unit tests to CI build fpagliughi 2025-03-30 16:36:51 -04:00
  • 80dd3cc713 Merge branch 'master' into develop fpagliughi 2025-03-30 16:20:36 -04:00
  • 88f17fb214 Create cmake-multi-platform.yml Frank Pagliughi 2025-03-30 16:16:07 -04:00
  • aa76f3c798 Removed Travis CI files. fpagliughi 2025-03-30 16:09:03 -04:00
  • cff72d00c6 Added an OpenSSL certificate class fpagliughi 2025-01-21 23:51:53 -05:00
  • 88654ea5ad Updates to the README fpagliughi 2025-01-18 17:33:09 -05:00
  • 87cfdd8ae8 Added tls_socket::peer_certificate() fpagliughi 2025-01-16 23:09:18 -05:00
  • e227f81f32 Renamed 'trust_store' to 'trust_locations' and ran format over sources. fpagliughi 2025-01-16 18:02:52 -05:00
  • 3d99bd7036 Fixed clang doc warnings fpagliughi 2025-01-14 00:07:17 -05:00
  • 60ae334f3a Ran a spellcheck and fixed typos fpagliughi 2025-01-13 23:49:10 -05:00
  • bda6c26ae0 Added UNIX-domain sockets to Windows and made them a CMake option for all platforms. fpagliughi 2025-01-13 23:11:01 -05:00
  • 96711b6dff Cleaned up CMake build. Added namespace targets for subdirectory builds. fpagliughi 2024-05-06 09:13:31 -04:00
  • 36af577f73 Cleanup of some OpenSSL code fpagliughi 2024-05-06 08:34:18 -04:00
  • fbc68b64ac #97 Allow acceptors to choose the reuse option in the constructor fpagliughi 2024-02-26 10:47:07 -05:00
  • a2d786f255 Merge branch 'master' into develop fpagliughi 2024-02-04 15:28:00 -05:00
  • 04002daccc Merge pull request #94 from JaanDev/master Frank Pagliughi 2024-02-04 15:27:27 -05:00
  • a748e86b17 Hacking away at an OpenSSL implementation (highly unstable). fpagliughi 2024-02-04 15:26:54 -05:00
  • 10a706b722 remove vscode folder JaanDev 2024-02-04 14:04:04 +03:00
  • 8549d2dec1 fixed not compiling on windows clang JaanDev 2024-02-04 14:03:20 +03:00
  • 10f350ee4e Cloning a socket returns a result. fpagliughi 2023-12-26 19:59:57 -05:00
  • 81328fbf35 Minor update to README fpagliughi 2023-12-26 10:24:08 -05:00
  • a4a5f37b93 Fixed the streaming create_handle() to return a result. fpagliughi 2023-12-24 14:21:12 -05:00
  • c21fc77db4 Acceptor doesn't reuse by default. Created a global text/example port constant, TEST_PORT fpagliughi 2023-12-24 10:59:59 -05:00
  • d86b29fef7 Started adding socket options. Changed the acceptor reuse option to specific int option value fpagliughi 2023-12-23 23:58:37 -05:00
  • b2585e4897 Cleaned up examples and result. Moved some chrono into sockpp namespace. fpagliughi 2023-12-23 20:22:54 -05:00
  • 4a0d8e0874 #93 Fix build errors of sample apps with 32-bit Clang versions. fpagliughi 2023-12-22 01:46:38 +00:00
  • 7a238ee3e7 Removed socket::last_error() and cached lastErr_ member. Implemented result<> return values across the API fpagliughi 2023-12-20 21:04:17 -05:00
  • f0012a21bd Updated CMake build to C++17 fpagliughi 2023-12-17 19:45:22 -05:00
  • d01ac04ca1 Updated README with v1.0/2.0 news. fpagliughi 2023-12-17 18:08:41 -05:00
  • e6c4688a57 Bumped vesion to v1.0.0. Updated README and CHANGELOG. v1.0.0 fpagliughi 2023-12-17 15:26:10 -05:00
  • ded8e16f93 Fixed the documentation errors reported by clang fpagliughi 2023-12-17 14:14:58 -05:00
  • 939f1e2593 Added result::release() fpagliughi 2023-12-16 20:22:30 -05:00
  • 74b2e83355 connector bool functions now return result<none> fpagliughi 2023-12-16 20:22:09 -05:00
  • c16fb75bc8 Added connector::connect() functions that take host/port and return a result. fpagliughi 2023-12-16 20:21:29 -05:00
  • 1b8da3b737 Reformat fpagliughi 2023-12-16 14:43:12 -05:00
  • c2724fe1f3 Fixed build warnings in Win32 mingw build fpagliughi 2023-12-16 14:31:38 -05:00
  • a97285e5c7 Fixed unit tests on Windows with MSVC fpagliughi 2023-12-16 14:31:18 -05:00
  • 9f3696583c Fixed unit tests for clang fpagliughi 2023-12-16 11:04:29 -05:00
  • 15d8371e00 Fixed unit test for Windows v0.8.3 v0.8.x fpagliughi 2023-12-11 13:40:12 -05:00
  • 5358647d62 Bumped version to v0.8.3 and updated CHANGELOG fpagliughi 2023-12-11 12:51:01 -05:00
  • b97237ab55 Some cleanup and documentation of the Catch2 v3.x support. fpagliughi 2023-06-14 17:02:27 -04:00
  • 605b6ebe2b Added catch2 version checking from tests/unit/CMakeLists.txt Daniel Zagaynov 2023-06-04 16:01:19 +03:00
  • 1f7d2a5205 Added checking for CATCH2_V2 to tests/unit/*.cpp Daniel Zagaynov 2023-06-06 02:46:54 +03:00
  • 58c54c02dd Fixed TCP and UDP examples for name resolution errors. Fixed CANbus build error. fpagliughi 2023-12-11 02:06:43 -05:00
  • f9f3a5cf96 Updated README with latest news. fpagliughi 2023-12-11 01:22:09 -05:00
  • 04a0ba7514 Reworked exception handling. Removed SOCKPP_WITH_EXCEPTIONS. Some few functions may throw, but now they all have a comparable noexcept overload. fpagliughi 2023-12-11 00:50:20 -05:00
  • 2a84e08193 Fixed TCP echo clients to propery report connect errors with or w/o exceptions. fpagliughi 2023-12-10 17:33:39 -05:00
  • f3ff0d78af Added .clang-format file and used it to reformat sources. fpagliughi 2023-12-10 15:08:10 -05:00
  • 7f28ab7d9f Updated CHANGELOG for v0.8.2 fpagliughi 2023-12-05 23:54:42 -05:00
  • fad39f374f Bumped version to v0.8.2 and updated README and CHANGELOG for release. v0.8.2 fpagliughi 2023-12-05 23:46:04 -05:00
  • 074a3fdec9 #89 Fixed generator expression for older CMake fpagliughi 2023-12-04 23:14:49 -05:00
  • dcbfa1a25c #89 Fixed generator expression for older CMake fpagliughi 2023-12-04 23:14:49 -05:00
  • ac5ccc8e03 #91 Fixed uniform_int_distribution<> in UNIX socket example fpagliughi 2023-12-04 17:48:09 -05:00
  • 5f3f57259e #91 Fixed uniform_int_distribution<> in UNIX socket example fpagliughi 2023-12-04 17:48:09 -05:00
  • f81589e824 Some cleanup and documentation of the Catch2 v3.x support. fpagliughi 2023-06-14 17:02:27 -04:00
  • ab522ecae1 Merge pull request #84 from kotopesutility/develop Frank Pagliughi 2023-06-14 14:49:07 -04:00
  • 2458290891 Added checking for CATCH2_V2 to tests/unit/*.cpp Daniel Zagaynov 2023-06-06 02:46:54 +03:00
  • ea8a723da6 Added catch2 version checking from tests/unit/CMakeLists.txt Daniel Zagaynov 2023-06-04 16:01:19 +03:00
  • d101292caa Added some simple error handling to can_address with unit tests. fpagliughi 2023-05-02 00:34:08 -04:00
  • ca331c59c3 Unix address generates error if path too long fpagliughi 2023-05-01 22:31:26 -04:00
  • 40943bb5d4 Removed custom exception in favor of system_error with error_code. Reworked inet addresses to get failure info. fpagliughi 2023-05-01 20:10:52 -04:00
  • 1896e3a64d Added error_code for getaddrinfo() fpagliughi 2023-05-01 00:25:48 -04:00
  • 119429867d Added some IPv6 address unit tests fpagliughi 2023-05-01 00:23:30 -04:00
  • 7b8260229c #77 Made exceptions optional in the build. Address validity testing more uniform with 'is_set()' and operator bool()' fpagliughi 2023-04-28 23:19:52 -04:00
  • 3a6083e8bf More consistent use of error_code. socket::last_error() now returns a std::error_code, while socket::last_errno() returns platform-specific error. fpagliughi 2023-04-28 17:55:00 -04:00
  • 0974f860fe Changed connect() w/ timeout to use poll() on non-Windows systems. fpagliughi 2023-04-28 17:53:43 -04:00
  • dcbd7af9e0 Updated README with unreleased features fpagliughi 2023-04-27 16:41:43 -04:00
  • fe0120725f Updated README with CMake app build info and new features. fpagliughi 2023-04-26 21:09:42 -04:00
  • ff95ac802a Moved sand/recv functions from datagram up to socket class. Created 'raw_socket' fpagliughi 2023-04-26 20:20:05 -04:00
  • a16da5685a Made != operator for result against error types fpagliughi 2023-04-24 16:07:09 -04:00
  • b3f8bd0ada Improved the 'result' type and added a simple unit test for it. fpagliughi 2023-04-24 08:17:26 -04:00
  • 1ad8dc64dc #72 Removed exception from 'unix_address' and started marking the methods 'noexcept'. fpagliughi 2023-03-20 10:11:37 -04:00
  • 1c42f82dca Merge branch 'develop' of github.com:fpagliughi/sockpp into develop fpagliughi 2023-03-20 09:54:40 -04:00
  • c38d45b2ba #72 Removed exception from 'can_address' and started marking the methods 'noexcept'. fpagliughi 2023-03-20 09:54:27 -04:00