I'm trying to send out a stream of UDP packets and it looks like my code is correct, but no data is being sent out on the NIC when I sniff it. I'm just doing
DatagramSocket dgSock = new DatagramSocket(6000)
DatagramPacket dgPacket = new DatagramPacket(payload, payload.length, new InetSocketAddress(host, port));
while(true)
dgSock.send(dgPacket);
I print out host and port and host is the IP address of a node on my network. So what am I missing?