fdd57bc538
Minor additions/fixes to doxygen-style docs
2019-12-22 22:50:50 +09:00
5ec344b733
Add way to get connection queued size
...
Requires locking the mutex for access to conMap.
2019-12-18 13:47:46 +09:00
7c444cb460
Impl auth-policy for handling with(out) auth
2019-12-09 21:27:58 +09:00
d94b44e4de
More documentation, fix constants to be #define'd
2019-12-06 20:49:30 +09:00
6742e06596
More work on Doxygen style documentation
2019-12-04 13:08:30 +09:00
feb859d745
Begin doxygen-style documentation WIP
2019-11-27 20:26:40 +09:00
69256839ac
Minor fixes/refactorings
2019-11-27 20:12:57 +09:00
04fa5ca017
Add is_valid_context(), fixes/refactorings
2019-11-27 19:47:51 +09:00
8d1dbead20
Add set_libsodium_key_easy(), fixes/refactorings
2019-11-27 19:41:38 +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
1eed614ded
Add buildgen rust binding
2019-04-17 15:15:53 +09:00
a33004a4c9
Add function to drop connection to specific addr
...
Also added minor note about ctx->idMap
2019-04-17 15:15:19 +09:00
537fef9e8a
Fix prepare_pkt function
2019-03-12 14:28:28 +09:00
78db1a58c7
Add HashMap keyed by id for quick id lookups
2019-03-12 13:49:14 +09:00
1c24cc9311
Change isThreaded flag to be separate int
2019-03-07 12:01:21 +09:00
50f105ecfb
Add get/set protocol id capability
2019-03-07 11:57:06 +09:00
767e96e227
Add more documentation
2019-03-06 20:34:24 +09:00
fe13c407ba
Add more documentation
2019-03-06 20:31:23 +09:00
97cbe37545
Add get/set accept-new-connections fn
...
Fix some functions not using mutex when threaded update is enabled.
2019-03-06 20:13:38 +09:00
2bd2e868b2
Change UDPConnection to set listen address
...
Add some documentation, fix NetworkTest with new change.
2019-03-06 19:53:15 +09:00
4be79ace7c
Fix received callback, minor change to NetworkTest
2019-03-06 13:39:54 +09:00
89afc58bc7
Add UDPC_strtoa
2019-03-04 15:05:21 +09:00
4776a2f202
More impl of UDPConnection
...
Add client initiate connection.
2019-03-04 15:04:16 +09:00
3b4ae6e7dd
Add resendPktQueue to struct in UDPConnection
...
Resending packets now put in higher priority queue in ConnectionData; if
queued both regular packet and resending packet, resending packets are
sent first.
2019-03-04 11:32:44 +09:00
d6f5653048
Fixes/improvements to UDPConnection, still WIP
...
Need to implement threaded update properly.
2019-02-21 15:40:30 +09:00
69edca40f8
Impl add to send-queue and recv callbacks, WIP
...
Still not finished, need to set up the thread to send queued packets and
receive packets safely.
Also need to add to Deque (see TODO comment).
2019-02-20 15:13:57 +09:00
4e9929d7ba
Fix handling of timed out packets
2019-02-19 13:28:16 +09:00
4ac65ab6de
More impl of UDPConnection
...
Still WIP but almost finished
2019-02-18 16:32:50 +09:00
84791a5399
Update UDPConnection to use updated HashMap
2019-02-18 12:31:42 +09:00
44dd293a4b
Add itercall() to HashMap, more work on UDPC
2019-02-15 13:52:38 +09:00
a0134b7cb3
Begin work on HashMap, minor fixes
2019-02-04 17:21:49 +09:00
884a262f93
Fix UDPC_destroy, WIP impl of recieving packets
2019-02-04 15:33:44 +09:00
faba06a2b6
Add error logging capability
...
Need to test internal atostr function.
2019-02-01 19:22:04 +09:00
ff31b0f604
Add some impl of UDPConnection (still WIP)
2019-01-31 19:44:32 +09:00
48cf70ef49
More work on Deque, UDPConnection
2019-01-31 12:16:01 +09:00
ea8226cdf2
Some work on UDPC
2019-01-30 15:46:52 +09:00
32e2503bd0
Change init to return ptr, some error handling
2019-01-29 11:53:39 +09:00
b76df86a4f
Some more work on UDPC, WIP Deque
2019-01-26 19:11:12 +09:00
bc79efa20f
Rename PLATFORM macro to "namespace" UDPC_
2019-01-26 16:49:54 +09:00
909fe2e744
Add some init/destruct stuff, thread stuff too
2019-01-26 16:22:31 +09:00
ec084d85cc
Init commit skeleton project
2019-01-26 12:52:10 +09:00