Skip to content
Snippets Groups Projects
Commit efcba689 authored by garrettloeffelman's avatar garrettloeffelman
Browse files

LoeffelmanSeversonAssignment3

Sent Image via UDP
parent 93c4e4b4
No related branches found
No related tags found
No related merge requests found
...@@ -66,7 +66,7 @@ public class LoeffelmanSeversonUDPImageSender { ...@@ -66,7 +66,7 @@ public class LoeffelmanSeversonUDPImageSender {
for (int index = 1; index <= buffer.length; index++) // avoid infinite send loops in code, they can be hard to kill! for (int index = 1; index <= buffer.length; index++) // avoid infinite send loops in code, they can be hard to kill!
{ {
udpSocket.send(packet); udpSocket.send(packet);
System.out.println("Sent packet " + index + " of 100"); System.out.println("Sent packet " + index + " of " + buffer.length);
} }
System.out.println("UdpSender complete."); System.out.println("UdpSender complete.");
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment