Khardian @khardian.bsky.social · 18/12/2025I'm not really sure how c# handles this underneath the abstractions, but it seems like streams are just like normal resizeable buffers, so on write they just push bytes into the buffer, starting from 0 and the data remains there after read. 100
Khardian @khardian.bsky.social · 18/12/2025As for the situation you described, it sounds like a race condition. Have you tried adding a big delay to the client code? Just to see if it's trying to access the stream at the same time as the server. 010