From 5679977b5d22e22be9e4c47c4a3dcab90c1bc5a4 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Thu, 12 Jun 2008 14:58:33 +0200 Subject: Das Versenden von Paketen ist jetzt m?glich --- src/madc.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/madc.cpp') diff --git a/src/madc.cpp b/src/madc.cpp index f55779e..63516d9 100644 --- a/src/madc.cpp +++ b/src/madc.cpp @@ -19,6 +19,7 @@ #include "Net/ClientConnection.h" #include "Net/IPAddress.h" +#include "Net/Packet.h" #include int main() { @@ -33,6 +34,8 @@ int main() { std::cerr << "Connection error: " << e.what() << std::endl; } + connection.send(Mad::Net::Packet(0x0001, 0xABCD)); + connection.disconnect(); Mad::Net::Connection::deinit(); -- cgit v1.2.3