src/Network/Channel.hh
changeset 431 c6d7272a164b
child 432 82b0f4e55a13
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/Network/Channel.hh	Mon Jan 26 23:03:47 2009 +0200
@@ -0,0 +1,15 @@
+#ifndef NETWORK_CHANNEL_HH
+#define NETWORK_CHANNEL_HH
+
+#include "../Types.hh"
+
+/**
+ * A NetworkSession puts each packet onto a specific channel, which can the be used to run multiple different modules
+ * on top of a single session.
+ *
+ * NetworkChannelID zero is reserved for internal NetworkSession use
+ */
+typedef uint16_t NetworkChannelID;
+
+
+#endif /* NETWORK_CHANNEL_HH */