Netzwerkverbindung TCP oder UDP/en: Unterschied zwischen den Versionen
Uslex (Diskussion | Beiträge) Die Seite wurde neu angelegt: „*source: [https://www.freiwald.com/forum/viewtopic.php?f=8&t=35762&hilit=wlan forum] *FAQ: [https://www.freiwald.com/forum/viewtopic.php?f=8&t=38074 UDP-based feedback systems] *UDP: [https://de.wikipedia.org/wiki/User_Datagram_Protocol Wikipedia] *TCP: [https://de.wikipedia.org/wiki/Transmission_Control_Protocol Wikipedia]“ |
Uslex (Diskussion | Beiträge) KKeine Bearbeitungszusammenfassung |
||
Zeile 19: | Zeile 19: | ||
* UDP = '''User Datagram Protocol''': a minimal, connectionless, unsecured protocol in the network | * UDP = '''User Datagram Protocol''': a minimal, connectionless, unsecured protocol in the network | ||
UDP is well explained in the [https:// | UDP is well explained in the [https://en.wikipedia.org/wiki/User_Datagram_Protocol Wikipedia]. | ||
<span id="Was_ist_TCP"></span> | <span id="Was_ist_TCP"></span> |
Version vom 8. Januar 2025, 20:47 Uhr
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
Because there have already been several inquiries and problem reports regarding UDP-based feedback systems (such as µCON-S88 masters or systems with a compatible interface protocol), Mr. Freiwald has compiled the most important questions in this context in a FAQ.
Weblinks
- source: forum
- FAQ: UDP-based feedback systems
- UDP: Wikipedia
- TCP: Wikipedia
- -- 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)