Netzwerkverbindung TCP oder UDP/en: Unterschied zwischen den Versionen

Aus RailRoad&Co.-Wiki
Zur Navigation springenZur Suche springen
Die Seite wurde neu angelegt: „If UDP-related message losses occur during the transmission of a response (e.g. occupancy message), then '''this response does not reach the PC'''. Unlike a few lost pixels in video transmission, '''lost responses''' are unacceptable in a model railway control system.“
Die Seite wurde neu angelegt: „== FAQ on UDP-based feedback systems ==“
Zeile 41: Zeile 41:
If UDP-related message losses occur during the transmission of a response (e.g. occupancy message), then '''this response does not reach the PC'''. Unlike a few lost pixels in video transmission, '''lost responses''' are unacceptable in a model railway control system.
If UDP-related message losses occur during the transmission of a response (e.g. occupancy message), then '''this response does not reach the PC'''. Unlike a few lost pixels in video transmission, '''lost responses''' are unacceptable in a model railway control system.


<div lang="de" dir="ltr" class="mw-content-ltr">
<span id="FAQ_zu_UDP-basierten_Rückmeldesystemen"></span>
== FAQ zu UDP-basierten Rückmeldesystemen ==
== FAQ on UDP-based feedback systems ==
</div>


<div lang="de" dir="ltr" class="mw-content-ltr">
<div lang="de" dir="ltr" class="mw-content-ltr">

Version vom 8. Januar 2025, 20:44 Uhr

Verwendung
thumbs


Network connection from TrainController to the digital center with TCP or UDP

Strange Effects

I notice strange behavior with the µCon S88 Master.

When trains travel by autotrain or fully automatically, feedback sensors suddenly get stuck somewhere.

  • The discussion about this problem can be found in the forum.

What is UDP

  • UDP = User Datagram Protocol: a minimal, connectionless, unsecured protocol in the network

UDP is well explained in the Wikipedia.

What is TCP

  • TCP = Transmission Control Protocol: a transmission control protocol. Data loss is detected and automatically corrected in TCP.

TCP is well explained in the Wikipedia.

Message losses in UDP

With UDP, security was sacrificed in favor of speed when transmitting large amounts of data (e.g. videos or telephony).

While the transmission with TCP is secured in the protocol so that every message sent reaches the recipient, with UDP messages can get lost. While it would be annoying if the picture jerked during video transmission via TCP, "lost pixels" for a fraction of a second during transmission via UDP are not perceptible to the human eye.

Conclusion: With UDP, protocol-related ('built-in' into the protocol concept) message losses can occur.

Problem for the model railway

If UDP-related message losses occur during the transmission of a response (e.g. occupancy message), then this response does not reach the PC. Unlike a few lost pixels in video transmission, lost responses are unacceptable in a model railway control system.

FAQ on UDP-based feedback systems

Weil es bereits mehrere Nachfragen und Problemmeldungen zu UDP-basierten Rückmeldesystemen (wie z.B. µCON-S88-Master oder Systeme mit dazu kompatiblem Schnittstellenprotokoll) gegeben hat, hat Herr Freiwald die wichtigsten Fragen in diesem Zusammenhang in einer FAQ zusammengestellt.

Weblinks


-- Uslex (Diskussion) 11:47, 13. Dez. 2021‎ (CEST)
bearbeitet: Uslex (Diskussion) 14:03, 7. Jul. 2022 (CEST), Uslex (Diskussion) 15:34, 17. Jul. 2023 (UTC)