diff options
author | Matthias Schiffer <matthias@gamezock.de> | 2008-07-17 20:17:19 +0200 |
---|---|---|
committer | Matthias Schiffer <matthias@gamezock.de> | 2008-07-17 20:17:19 +0200 |
commit | 83c885f9702bb02206ad8dfa95b78333401e5154 (patch) | |
tree | 1cab9042ea686858af8306d78cbccaf608aa9d14 /src/madc.cpp | |
parent | 9f96fb364bea47ec76dea57fc14e03e0e42fa5e3 (diff) | |
download | mad-83c885f9702bb02206ad8dfa95b78333401e5154.tar mad-83c885f9702bb02206ad8dfa95b78333401e5154.zip |
Identify-Pakete implementiert
Diffstat (limited to 'src/madc.cpp')
-rw-r--r-- | src/madc.cpp | 4 |
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()) { |