Commit graph

9 commits

Author SHA1 Message Date
8d1dbead20 Add set_libsodium_key_easy(), fixes/refactorings 2019-11-27 19:41:38 +09:00
6b14d86822 Fixes for setting pub/sec keys
Added more to NetworkTest to test new changes.
2019-11-21 15:15:05 +09:00
c24273ea65 Add unset_libsodium_keys()
Still untested
2019-11-21 12:23:40 +09:00
240ed9821f Add set peer_pk, sk/pk, start/stop threaded update
Note, this code is UNTESTED.
2019-11-19 20:55:20 +09:00
4cfe35ecd1 libsodium support is now optional
Packet struture has been changed to support UDPC without libsodium
sending packets to UDPC with libsodium.
2019-11-18 17:37:03 +09:00
f2b4672318 Add way to specify sleep time for threaded update 2019-11-13 14:06:48 +09:00
f9e1bca4c1 Add UDPC_create_id_easy
UDPC_create_id_easy will detect if the input addr string is link local
or not, and will create the ipv6 address based on it.
2019-11-13 12:15:12 +09:00
7b5cf3b6f8 Add events, refactorings
Added event system to lessen the use of the main mutex and instead use
thread safe data structures (TSLQueue). Also can enable and check events
during execution (connect, disconnect, good mode, bad mode).

Fixes and refactorings.
2019-11-11 16:08:51 +09:00
00c1be07dc Replace c_impl, remove rust_binding, with cpp_impl 2019-11-11 13:08:36 +09:00
Renamed from cpp_impl/src/UDPConnection.cpp (Browse further)