Is TCP Guaranteed to arrive in order?
If I send two TCP messages, do I need to handle the case where the latter arrives before the former? Or is it guaranteed to arrive in the order I send it? I assume that this is not a Twisted-specific example, because it should conform to the TCP standard, but if anyone familiar with Twisted could provide a Twisted-specific answer for my own peace of mind, that'd be appreciated :-) As long as the two messages were sent on the same TCP connection , order will be maintained. If multiple connections are opened between the same pair of processes, you may be in trouble. Regarding Twisted, or any