Commit graph

18 commits

Author SHA1 Message Date
Stephen Seo 02651c793e Add note in docs about update for UDPC_init(...)
All checks were successful
Publish doxygen documentation to seodisparate.com / doxygen-gen-and-publish (push) Successful in 0s
2024-01-12 13:31:36 +09:00
Stephen Seo 5d24c4b5e6 Add note about usage of UDPC header in docs
All checks were successful
Publish doxygen documentation to seodisparate.com / doxygen-gen-and-publish (push) Successful in 0s
2024-01-01 17:15:55 +09:00
Stephen Seo f4ed1aa136 Note in documentation about thread safety
All checks were successful
Publish doxygen documentation to seodisparate.com / doxygen-gen-and-publish (push) Successful in 0s
Basically, all functions should be thread-safe unless mentioned
otherwise.
2024-01-01 12:25:04 +09:00
Stephen Seo 97f030a3a3 Add docs for UDPC_no* functions 2023-07-04 11:41:45 +09:00
Stephen Seo 77d69cabbc Impl "unsafe" versions of UDPC_atostr(...)
These "unsafe" versions are guaranteed to not have the returned address
strings be overwritten by UDPC, but they must be manually free'd later
(as mentioned in the documentation).
2023-06-22 13:25:26 +09:00
Stephen Seo 390f3972f8 Add documentation for UDPC_atostr... 2023-06-22 12:07:26 +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 a8ef89d9b1 Update documentation about UDPC_update(ctx) 2022-12-08 16:54:02 +09:00
Stephen Seo e08e620b26 Add |id| to PacketInfo 2021-01-10 14:40:17 +09:00
Stephen Seo ba3d6df406 Use dll_export (for builds for Windows) 2020-06-23 13:01:27 +09:00
Stephen Seo 2a39267b38 Add/fix more documentation 2020-04-28 19:38:07 +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 5dcab1d590 Minor fix to documentation 2020-04-18 16:19:59 +09:00
Stephen Seo cf6ff5a040 Change how UDPC_PacketInfo handles it's data
The "data" member variable in UDPC_PacketInfo is now handled as a
pointer to dynamic data, instead of an array with a fixed size. Every
time a UDPC_PacketInfo is received from the context,
UDPC_free_PacketInfo() must be called on it to avoid a memory leak.
2020-04-15 19:56:15 +09:00
Stephen Seo c37909bde3 Add helpers converting network-order (big-endian) 2020-01-16 20:28:42 +09:00
Stephen Seo 83392fc916 Fix doxygen documentation 2020-01-13 19:22:08 +09:00
Stephen Seo b41639c568 Set pointers to const where possible in API 2020-01-10 20:28:08 +09:00
Stephen Seo f588d409c9 Truncate "UDPConnection" to "UDPC" 2020-01-09 16:57:01 +09:00
Renamed from src/UDPConnection.h (Browse further)