libutp
libutp copied to clipboard
refactor: make utp_write() buf arg a const*
No functional changes; just a minor const-correctness change.
Use case: client code calls utp_write() or utp_writev() from a function that receives the data in const form, but currently has to cast away the const with const_cast<void*>(data) to match the current libutp API.