This looks fishy. Shouldn't it be...

agentList.broadcastToAgents(packetData,receivedBytes, &AGENT_TYPE_INTERFACE,1);