Am 02.10.2008 um 13:46 schrieb Pedro Melo:
I don't understand why a direct or mediated TCP connection is less reliable than a C2S + S2S * 2 + C2S set of connections. I think a direct connection is the most reliable of them all because I've got instant notification when something goes wrong: the connection gets dropped.
AFAIK, the Jingle Transports for direct conenctions are UDP. UDP is a stateless protocol, having no error correction or reliability at all. With TCP, we get noticed when a packet got lost. With UDP, we don't.
I deal with lost stanzas everyday due to S2S fluctuations, and those problems go away with direct connections. Even mediated connections look better.
The solution is to fix S2S, not to use direct connections. We need the S2S link anyway for presences etc…
-- Jonathan
PGP.sig
Description: This is a digitally signed message part
