RandyGaul / cute_headers

Collection of cross-platform one-file C/C++ libraries with no dependencies, primarily used for games
4.24k stars 264 forks source link

Send empty packet in cute_net seems broken #308

Closed RandyGaul closed 1 year ago

RandyGaul commented 2 years ago

Needs to be supported to for acks during zero traffic moments

RandyGaul commented 1 year ago

Decided on simply extra documentation + proper return error for zero sized packets. https://github.com/RandyGaul/cute_headers/commit/bcfa78b801f53dbac18e09682e5a1e6193fdef14