From ccd8aebf1d966afcd3b14f8715e353d45886397c Mon Sep 17 00:00:00 2001
From: brutzman <brutzman@DESKTOP-2S09UKA>
Date: Mon, 19 Aug 2019 10:55:15 -0700
Subject: [PATCH] put loopsize parameter where it is easily recognized and
 modified

---
 examples/src/UdpMulticastHttpExamples/MulticastSender.java | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/examples/src/UdpMulticastHttpExamples/MulticastSender.java b/examples/src/UdpMulticastHttpExamples/MulticastSender.java
index 7b8a11198d..53a3d69c70 100644
--- a/examples/src/UdpMulticastHttpExamples/MulticastSender.java
+++ b/examples/src/UdpMulticastHttpExamples/MulticastSender.java
@@ -19,8 +19,11 @@ public class MulticastSender {
 
     public static final String MULTICAST_ADDRESS = "239.1.2.15"; // within reserved multicast address range
     public static final int     DESTINATION_PORT = 1718;
+    
     /** Time to live: how many router-decrement levels can be crossed */
     public static final int TTL = 10;
+	
+    public static final int loopSize = 20; // 20000
     
     public static final String QUIT_SENTINEL = "QUIT QUIT QUIT!";
     
@@ -46,10 +49,8 @@ public class MulticastSender {
             multicastSocket.joinGroup(multicastAddress);
             // You can join multiple groups here
             
-			int loopSize = 20;
             for (int index = 0; index < loopSize; index++)
             {
-            
 				// Put together a message with binary content. "ByteArrayOutputStream"
 				// is a java.io utility that lets us put together an array of binary
 				// data, which we put into the UDP packet.
-- 
GitLab