This application tests clustered server environments. Both UDP and RMI (described below) must work properly for TeamConnect to run on clustered servers.
Login to Machine1 and run these commands:
set CLASSPATH=tcutility.jar
java -classpath tcutility.jar teamconnect.udp.UDPServer 239.192.16.15 6018 5
The argument values shown are examples only. The argument definitions are:
•arg0: UDP address
•arg1: UDP port
•arg2: Time to live (number of hops)
The application responds with message "waiting..."
Login to Machine2 and run these commands:
set CLASSPATH=tcutility.jar
java -classpath tcutility.jar teamconnect.udp.UDPClient 239.192.16.15 6018 Hello 5 5
The argument values shown are examples only. The argument definitions are:
•arg0: UDP address
•arg1: UDP port
•arg2: Message string to be sent
•arg3: Message count
•arg4: Time to live (number of hops)
The application will respond with messages showing the test string and the status of the send request. These messages will repeat for as many times as are specified in the arg3 value. The server application on Machine1 should display messages, one for each send request, containing the text of the sent string.
Repeat the process by terminating the server application on Machine1, then changing Machine2 to Server and Machine1 to Client.