Task: Implement a Ktor-based TCP Server and Client with Raw Byte Handling
Task: Implement a Ktor-based TCP Server and Client with Raw Byte Handling: a task in Terminal-Lego-15k (Harbor dataset). When working with TCP connections, data arrives as a stream — not as discrete "packets." TCP is a stream-oriented protocol, meaning there is no built-in concept of message…
The task
When working with TCP connections, data arrives as a stream — not as discrete "packets." TCP is a stream-oriented protocol, meaning there is no built-in concept of message boundaries. If you send 5000 bytes, they may arrive in multiple chunks (e.g., 1500 + 1500 + 2000) or potentially be coalesced with other sends.…
Part of PrimeIntellect/Terminal-Lego-15k.