diff options
author | Matthias Schiffer <matthias@gamezock.de> | 2008-06-12 14:58:33 +0200 |
---|---|---|
committer | Matthias Schiffer <matthias@gamezock.de> | 2008-06-12 14:58:33 +0200 |
commit | 5679977b5d22e22be9e4c47c4a3dcab90c1bc5a4 (patch) | |
tree | 947df8f82a46e978fd7e69df079df9eaf6d2f357 /src/madc.cpp | |
parent | 99ec36989631dd116524a5fab03f1c1977870752 (diff) | |
download | mad-5679977b5d22e22be9e4c47c4a3dcab90c1bc5a4.tar mad-5679977b5d22e22be9e4c47c4a3dcab90c1bc5a4.zip |
Das Versenden von Paketen ist jetzt m?glich
Diffstat (limited to 'src/madc.cpp')
-rw-r--r-- | src/madc.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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 <iostream> 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(); |