RandyGaul / cute_headers

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

TCP only mode for cute_net.h #314

Open RandyGaul opened 1 year ago

RandyGaul commented 1 year ago

This would allow trivial browser builds at the cost of no fire-and-forget packets -- only reliable-in-order (because it's TCP). We'd still use all of cute_net's security features, but most of the bookkeeping code for UDP packets wouldn't be used at all.

RandyGaul commented 1 year ago

I'm working towards an initial release of Cute Framework which will definitely need a TCP only mode.

RandyGaul commented 1 year ago

Minor update -- This was delayed as lower priority for CF v1.0 -- However, it's a really cool thing to have and will absolutely be done at some point. Feel free to ping/message me if you want this feature sooner and I can accommodate.