--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/Network/Group.cc Mon Jan 26 23:03:47 2009 +0200
@@ -0,0 +1,18 @@
+
+#include "Group.hh"
+#include "Node.hh"
+
+void NetworkGroup::send_pkt (const NetworkPacketBuffer &pkt, bool reliable) {
+ // iterate + recurse send_pkt
+ for (iterator_type it = targets_begin; it != targets_end; it++) {
+ // handle as NetworkTarget
+ NetworkTarget *target = static_cast<NetworkTarget*>(*it);
+
+ // exclude?
+ if (target == exclude)
+ continue;
+
+ // recurse
+ target->send_pkt(pkt, reliable);
+ }
+}