4 ms·
The transmission mechanism, the socket, doesn’t care what data traverses it. Whether the incoming data is a stream or chunks is up to how the receiving end wish
by austin-cheney 1y ago
The transmission mechanism, the socket, doesn’t care what data traverses it. Whether the incoming data is a stream or chunks is up to how the receiving end wishes to intercept the data until message completion. The receiver can store incoming packets as an array of chunks or pipe the incoming into a buffer. The former allows for more convenient segment inspection while the later allows for immediate execution on message fragments.