Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

It is not a mistake - the usual approach is that you rewind the buffer with buffer_seek, write your data (which shifts the buffer position reported by buffer_tell) and then send that exact amount of data. Using buffer_get_size means that you’re sending the whole buffer every time - however large that is.

huh, okay. I appreciate the response :)