summaryrefslogtreecommitdiffstats
path: root/src/madc.cpp
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias@gamezock.de>2008-07-17 20:17:19 +0200
committerMatthias Schiffer <matthias@gamezock.de>2008-07-17 20:17:19 +0200
commit83c885f9702bb02206ad8dfa95b78333401e5154 (patch)
tree1cab9042ea686858af8306d78cbccaf608aa9d14 /src/madc.cpp
parent9f96fb364bea47ec76dea57fc14e03e0e42fa5e3 (diff)
downloadmad-83c885f9702bb02206ad8dfa95b78333401e5154.tar
mad-83c885f9702bb02206ad8dfa95b78333401e5154.zip
Identify-Pakete implementiert
Diffstat (limited to 'src/madc.cpp')
-rw-r--r--src/madc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/madc.cpp b/src/madc.cpp
index f987a9d..9609e56 100644
--- a/src/madc.cpp
+++ b/src/madc.cpp
@@ -22,7 +22,7 @@
#include "Net/Packet.h"
#include "Common/RequestManager.h"
#include "Common/Request/DisconnectRequest.h"
-#include "Common/Request/PingRequest.h"
+#include "Common/Request/IdentifyRequest.h"
#include <iostream>
int main() {
@@ -43,7 +43,7 @@ int main() {
requestManager.registerConnection(connection);
- Mad::Common::Request::PingRequest::send(connection, requestManager);
+ Mad::Common::Request::IdentifyRequest::send(connection, requestManager, "test");
Mad::Common::Request::DisconnectRequest::send(connection, requestManager);
while(connection->isConnected()) {