Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 1.07 KB

README.md

File metadata and controls

40 lines (26 loc) · 1.07 KB

libudx

udx is reliable, multiplexed, and congestion-controlled streams over udp.

Building

https://github.com/holepunchto/bare-make is used for building static and dynamic libraries for use outside of Node.js.

bare-make generate
bare-make build

Debugging

When debugging native code, make sure to configure a debug build:

bare-make generate --debug

Memory errors

To diagnose and debug memory errors, such as leaks and use-after-free, the collection of sanitizers provided by LLVM are recommended. The sanitizers can be enabled by passing the --sanitize flag when generating the build system:

bare-make generate --debug --sanitize <address|memory|undefined|leak|thread>

To read more about the various sanitizers and how to use them, see:

License

Apache-2.0