In the P2PSP, data can be transmitted in two diﬀerent states:
- As a stream, i.e., as an endless sequence of data that transports some kind of information. Streams are always transmitted over TCP (Transmission Control Protocol).
- As a collection of chunks, being a chunk a piece of stream. All chunks have the same size. Chunks are always transmitted over UDP (User Datagram Protocol). A small chunk minimizes the average latency of the transmission but also increments the underlying protocols (UDP/IP (Internet Protocol)/data-link) overhead, and vice versa.∗