Skip to content
Snippets Groups Projects
Commit 02041a00 authored by terry-norbraten's avatar terry-norbraten
Browse files

use InetSocketAddress

parent 5db8214b
No related branches found
No related tags found
No related merge requests found
......@@ -270,7 +270,7 @@ public class DisThreadedNetIF
// The capacity could go up to MAX_DIS_PDU_SIZE, but this should be good for now
ByteArrayOutputStream baos = new ByteArrayOutputStream(MAX_TRANSMISSION_UNIT_SIZE);
DataOutputStream dos = new DataOutputStream(baos);
DatagramPacket packet = new DatagramPacket(baos.toByteArray(), baos.size(), maddr, disPort);
DatagramPacket packet = new DatagramPacket(baos.toByteArray(), baos.size(), group);
while (!killed) { // keep trying on error
try {
......
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