Multicast_Data_Reflector
Run as Server
As a server, or a multicast sender, the program creates a repeatable timer and the timer handler routine, Broadcast, does the following:
- Get a UDP socket.
- Set the IP Time-To-Live appropriately.
- Set the default interface multicast datagrams should be sent from.
- Send to the application's multicast address and port number.
- Shut down and close the socket when complete.
NOTE: The sender does not have to join a multicast group.
RTSS Usage
RTSSrun DataReflector.rtss I=IP_address u [options]
You must specify the "Multicast IP address" (m=224.5.6.7).
Client RTSS Usage:
RTSSrun DataReflector.rtss m=224.5.6.7 i=IP_address u [options]
Server RTSS Usage:
RTSSrun DataReflector.rtss m=224.5.6.7 i=IP_address f=IF_address [options]
NOTE: All Data Reflector command-line options are case-sensitive.
Option |
Description |
p= |
Port number (default is 9999) |
m= |
Multicast IP address in dot notation |
f= |
Default interface for sending Multicast packets |
n= |
Client name (default is EmptyName) |
r= |
Rate of Multicast in seconds (default is 5 seconds) |
i= |
Local IP address in dot notation. |
u |
When this option is used the Data Reflector sample is run as a client. When it is not used, it is run as a server. |
t= |
Time-To-Live value (default is 1) |
k= |
Kill all clients |
/? |
Displays usage |
Related topics: