|LabWindows/CVI 2010 Help||LabWindows/CVI 2012 Help||LabWindows/CVI 2013 Help||LabWindows/CVI 2015 Help||LabWindows/CVI 2017 Help|
Use UDP functions to communicate with other computers through a unicast, broadcast, or multicast. Communication with a single other client is called a unicast. When computers communicate under UDP, they exchange datagrams, or self-contained independent entities of data.
Use a broadcast to communicate with all computers on the LAN or a specific subnet. If you want to communicate with multiple specific computers, you must configure the UDP functions to iterate through a list of clients. Using this technique creates duplicate network traffic because LabWindows/CVI sends a separate copy of the data to each client and maintains a list of clients interested in receiving the data.
Use multicasting to communicate between a single sender and multiple clients on a network without requiring the sender to maintain a list of clients or send multiple copies of the data to each client. To receive data from a multicast sender, all clients must join a multicast group. The sender does not have to join a group to send data. The sender specifies a multicast IP address, which defines a multicast group. Multicast IP addresses are in the 184.108.40.206 to 220.127.116.11 range. When a client wants to join a multicast group, it subscribes to the multicast IP address of the group. After subscribing to a multicast group, the client receives data sent to the multicast IP address.