How do I send data between two computers using the UDP function from the Instrument Control Toolbox?
Mostra commenti meno recenti
I am using the Instrument Control Toolbox, and I would like to communicate between two computers using the User Datagram Protocol (UDP).
Risposta accettata
Più risposte (1)
Vinod
il 14 Apr 2014
Modificato: MathWorks Support Team
il 27 Apr 2023
0 voti
The UDP protocol does not guarantee transmission or order of the packets.
For most applications, you probably want to use TCPIP, like this:
1 Commento
Walter Roberson
il 14 Apr 2014
Real-time communications require UDP rather than TCP, as TCP has no upper bound on packet delivery time and does not allow later packets to be delivered.
TCP is also not usable for broadcasting of any kind.
Effectively all other IP protocols other than TCP are unidirectional, so there are a lot of different applications where in-order guaranteed delivery is not suitable.
Categorie
Scopri di più su Development Computer Setup in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!