summaryrefslogtreecommitdiffstats
path: root/src/madc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/madc.cpp')
-rw-r--r--src/madc.cpp3
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();