This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
udp_vs_tcp_ip [2011/04/08 11:36] – ba | udp_vs_tcp_ip [2011/04/08 11:52] – ab | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== TCP vs UDP ====== | ====== TCP vs UDP ====== | ||
+ | UDP is the preferable choice, if you do not need to implement a protocol that requires TCP (eg HTTP SMTP etc.) When a proper master slave structure is chosen, it is no big deal to make the UDP reliable. All you need is to implement a checksum and check if the master gets a correct answer on every command. | ||