[Twisted-Python] Streaming File Transfer Protocol?

exarkun at twistedmatrix.com exarkun at twistedmatrix.com
Wed Feb 10 15:32:24 EST 2010

On 07:23 pm, darren at ontrenet.com wrote:
>> From what I learned in other posts, the dataReceived(self, data): in 
>Echo server
>will get called with out-of-order data/bytes from the client. Of 
>I could be misinformed,
>but what I understood before was that in this type of Protocol, I would
>have to re-order
>and re-assemble the bytes.  And I'm trying to avoid that, since of
>course, TCP already does it.
>But like I said, I could have been misinformed because it seems pretty
>basic to write 1,2,3
>to a server and have it received 1,2,3, guaranteed.

Order is guaranteed, as long as you're using one of the TCP, SSL, or 
UNIX transports.


More information about the Twisted-Python mailing list