fpagliughi
|
cff72d00c6
|
Added an OpenSSL certificate class
|
2025-01-21 23:51:53 -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
|
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
|
a748e86b17
|
Hacking away at an OpenSSL implementation (highly unstable).
|
2024-02-04 15:26:54 -05:00 |
|
fpagliughi
|
10f350ee4e
|
Cloning a socket returns a result.
|
2023-12-26 19:59:57 -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
|
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
|
c16fb75bc8
|
Added connector::connect() functions that take host/port and return a result.
|
2023-12-16 20:21: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
|
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
|
ac5ccc8e03
|
#91 Fixed uniform_int_distribution<> in UNIX socket example
|
2023-12-04 17:49:31 -05:00 |
|
fpagliughi
|
40943bb5d4
|
Removed custom exception in favor of system_error with error_code. Reworked inet addresses to get failure info.
|
2023-05-01 20:10:52 -04:00 |
|
fpagliughi
|
3a6083e8bf
|
More consistent use of error_code. socket::last_error() now returns a std::error_code, while socket::last_errno() returns platform-specific error.
|
2023-04-28 17:55:00 -04:00 |
|
fpagliughi
|
5b9026a3b3
|
Made 'ioresult' with a generic template base class and use std::error_code for the error variant.
|
2023-03-19 15:26:30 -04:00 |
|
fpagliughi
|
42390b119e
|
Fixed up connector timeouts
|
2023-01-29 23:52:37 -05:00 |
|
fpagliughi
|
ba5b5352ba
|
Fixed build warnings in Windows w/ MSVC
|
2023-01-18 17:07:22 -05:00 |
|
fpagliughi
|
27ffc22f01
|
Further cleanup of CMake. Started preparing release v0.8
|
2023-01-17 16:12:46 -05:00 |
|
fpagliughi
|
01ed2d3c08
|
CMake - got rid of global CXX std-14 requirement for target settings.
|
2023-01-16 22:30:04 -05:00 |
|
fpagliughi
|
13074962de
|
Updated the library initializer to use a singleton for run-once guarantee.
|
2023-01-16 18:30:56 -05:00 |
|
fpagliughi
|
70308e0a4a
|
Minor cleanup
|
2023-01-16 16:23:09 -05:00 |
|
fpagliughi
|
e5c51b541d
|
CMake generating a config version file.
|
2022-05-30 00:13:13 -04:00 |
|
fpagliughi
|
7d76cbf7ae
|
Cleaned up CMake. Installing generated files.
|
2022-05-29 22:31:44 -04:00 |
|
fpagliughi
|
ca234aa556
|
Merge branch 'develop' into cmake-refactor
|
2022-05-29 18:04:41 -04:00 |
|
Arsen Gharagyozyan
|
dd3ef4a850
|
Updating for PR to match requirements
|
2022-05-29 17:31:33 -04:00 |
|
fpagliughi
|
4762cf1c33
|
Started support for Linux SocketCAN
|
2022-01-24 00:09:02 -05:00 |
|
fpagliughi
|
a42a4008cc
|
Restored C buf to UDB echo server example.
|
2020-03-29 10:11:07 -04:00 |
|
Ilya Tsybulsky
|
5d22f10335
|
Fixed broken compilation of examples on Windows/msvs2015u3
|
2020-03-25 15:08:24 +03:00 |
|
fpagliughi
|
93855d54e7
|
Started echo client timing tests.
|
2020-02-20 10:40:34 -05:00 |
|
fpagliughi
|
6740c57067
|
#32 stream socket timeouts working on Windows
|
2019-09-12 13:33:46 -04:00 |
|
fpagliughi
|
fa14985995
|
Fixed error in sock_address_any::MAX_SZ
|
2019-09-10 08:38:12 -04:00 |
|
fpagliughi
|
f1f8f33234
|
Fixed Windows socket::clone() and last_error_str().
Removed failing socket thread-safe error test
|
2019-08-16 23:55:19 -04:00 |
|
fpagliughi
|
cff61b8cf4
|
Rewrote the multi-threaded client example with a cloned socket.
|
2019-08-16 17:31:12 -04:00 |
|
fpagliughi
|
e555e73a8d
|
Added a multi-threaded TCP client.
|
2019-08-16 15:16:54 -04:00 |
|
fpagliughi
|
c12bb735cc
|
Added CMake auto-generated 'version.h' file
|
2019-08-10 17:51:34 -04:00 |
|
fpagliughi
|
f47d8e8a3b
|
Updated TCP echo clients to show/test connector construction.
|
2019-08-10 12:25:03 -04:00 |
|
fpagliughi
|
c27e8df153
|
Proper move semantics for stream and connector sockets.
Created separate tcp socket header files for each address family.
|
2019-08-10 11:54:35 -04:00 |
|
fpagliughi
|
25183d5d9d
|
Rearranged and consolidated example applications.
|
2019-08-09 16:38:35 -04:00 |
|
fpagliughi
|
decdf647f3
|
Added forgotten UDP files
|
2019-08-09 15:43:02 -04:00 |
|
fpagliughi
|
7d490136a5
|
Added Unix-domain UDP support and examples.
|
2019-08-09 11:36:31 -04:00 |
|
fpagliughi
|
ee6342fd20
|
UDP socket uses an optional address pointer for recv_from() instead of reference.
|
2019-08-09 10:28:17 -04:00 |
|
fpagliughi
|
1e2b74630d
|
Added UDP client examples.
|
2019-08-09 09:47:29 -04:00 |
|
fpagliughi
|
1d6890b86f
|
Added 'udp_socket' and 'udp6_socket'
|
2019-08-08 23:50:39 -04:00 |
|
fpagliughi
|
bf4b12ac00
|
Windows version compiling and removed type warnings int/ssize_t.
Datagram sockets building on Windows
Added sock_address::family()
|
2019-08-08 09:12:51 -04:00 |
|
fmp
|
a8342a15ce
|
Removed GNU Makefiles.
Added get_option() and set_option() to socket.
|
2019-06-29 15:48:31 -04:00 |
|