06-22-2007 10:20 AM
06-25-2007 04:27 AM
Hi,
you can broadcast using broadcast IP addresses (see link):
http://www.freesoft.org/CIE/RFC/922/10.htm
A broadcast is a data packet that is destined for multiple hosts. Broadcasts can occur at the data link layer and the network layer. Data-link broadcasts are sent to all hosts attached to a particular physical network. Network layer broadcasts are sent to all hosts attached to a particular logical network. The Transmission Control Protocol/Internet Protocol (TCP/IP) supports the following types of broadcast packets:
•All ones—By setting the broadcast address to all ones (255.255.255.255), all hosts on the network receive the broadcast.
•Network—By setting the broadcast address to a specific network number in the network portion of the IP address and setting all ones in the host portion of the broadcast address, all hosts on the specified network receive the broadcast. For example, when a broadcast packet is sent with the broadcast address of 131.108.255.255, all hosts on network number 131.108 receive the broadcast.
•Subnet—By setting the broadcast address to a specific network number and a specific subnet number, all hosts on the specified subnet receive the broadcast. For example, when a broadcast packet is set with the broadcast address of 131.108.4.255, all hosts on subnet 4 of network 131.108 receive the broadcast.
Also on the next link you can find multicast addresses explanation:
http://www.cisco.com/univercd/cc/td/doc/cisintwk/ito_doc/ipmulti.htm#wp1020564
You can find several examples of UDP Multicast and broadcast on the Examples of labview (go to Help
-> Find examples -> Search and then you write UDP).
Normally broadcasting and multicasting use that protocol (UDP) due to the fact it do not need an ACK in the communication. If you plan to use TCP then you will need a connection for each computer (IP). There are also examples with labview of TCP with multiple connections.
Hope that info helps u,