2 ms·
this looks super confusing. wanted to try zig but it looks as confusing as python :/. i thought maybe you need 4 buffers. 2 for the raw data and 2 for encrypte
by sim7c00 1y ago
this looks super confusing. wanted to try zig but it looks as confusing as python :/.
i thought maybe you need 4 buffers. 2 for the raw data and 2 for encrypted data. i'd expect then the ones for encrypted data are larger because encryption usually makes ur data larger as far as i can tell.
other then that, just wondering if ud recommend Zig or if this kinda stuff is putting you off it? (might be an exception, or is this kinda confusion normal.?)
- iknowstuff 1y agoWell idk about zig but in principle you just need two: like you said, one for unencrypted data, and one for encrypted data.
- sim7c00 1y agoi was thinking send/recv would also be distinct, but im not sure i never made a tls or stream server/client