Jonathan Schleifer wrote:
> 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.

It would help if you took the time to read and understand the
specifications you talk about.

Jingle is a generic session negotiation framework. For media sessions
such as voice or video, your client would negotiate a datagram transport
(typically RTP over UDP). For a file transfer session, your client would
negotiate a streaming transport such as direct TCP, IBB, SOCKS5
Bytestreams (either direct or mediated), or ICE-TCP (yet to be defined
because the IETF is still working on that). For an end-to-end XML
streams session upgraded to encrypted via STARTTLS, your client would
again negotiate a streaming transport, not a datagram transport. (On the
distinction between a datagram transport and a streaming transport, see
XEP-0166.)

Peter

-- 
Peter Saint-Andre
https://stpeter.im/


Reply via email to