Stephen Seo
211715fc56
Fix potential nullptr deref in free_PacketInfo_ptr
2023-04-19 19:11:03 +09:00
Stephen Seo
3fac706d86
Add UDPC_free_PacketInfo_ptr(...)
...
Also add unit test for this function.
2023-04-19 18:50:26 +09:00
Stephen Seo
d3fb621406
Minor fixes
2020-04-27 19:34:04 +09:00
Stephen Seo
445a221a5b
Fix check addr endianness in a4toa6 function
2020-04-27 11:47:50 +09:00
Stephen Seo
31ca4ddc44
Impl create id with hostname
...
Previously, ids could only be created with an ip address. Now they can
be made with a hostname, which will be looked up by UDPC.
Also fix client still requesting connections even if
accept-new-connections flag is false.
2020-04-26 18:52:06 +09:00
Stephen Seo
c37909bde3
Add helpers converting network-order (big-endian)
2020-01-16 20:28:42 +09:00
Stephen Seo
f588d409c9
Truncate "UDPConnection" to "UDPC"
2020-01-09 16:57:01 +09:00
Stephen Seo
4b36d05ccc
Minor fixes, improvements
...
When UDPC_ConnectionId is initialized, all of its bytes are now zeroed
out.
2019-12-18 14:20:29 +09:00
Stephen Seo
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
Stephen Seo
00c1be07dc
Replace c_impl, remove rust_binding, with cpp_impl
2019-11-11 13:08:36 +09:00