The example presents
The UDP Server will send some character string in UDP packets through port 7777 to a host specified in the source code. When started, the server.pl will start sending "1234567890 ABCDEFGHIJ abcdefghij" and listening to port 7778 for any commands from the "Command probe".
If the server receives the command DIGITS, it will start sending message strings of all digits.The Command Probe is a program used to send UDP command messages to the server.pl to control its behaviour.
If the server receives the command LETTERS, it will start sending message strings of all letters.
If the server receives the command DEFAULT, it will start sending message strings of digits and letters.
If the server receives the command STOP, it will pause sending messages.
If the server receives the command RESUME, it will resume sending messages.
If the server receives the command EXIT, it will terminate.
Modify Perl codes to reflect the destination IP numbers and run in 3 separate windows.
./cmd.pl DIGITS ./cmd.pl LETTERS ./cmd.pl DEFAULT ./cmd.pl STOP ./cmd.pl RESUME ./cmd.pl EXIT