summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2010-11-15 04:58:54 +0100
committerVegard Storheil Eriksen <zyp@jvnv.net>2010-11-15 04:58:54 +0100
commitbe08c29dd5e18c41b5c2f05b7178bab90f04e026 (patch)
tree98ad4c1bb0884df8345fa2f6ef0426b0929f9a54 /server
parentc9b9d15a585df8f01b49510e4ff0dfb53ee7b9ef (diff)
Changed Message-API. Implemented Hello, Login, LoginResponse.
Diffstat (limited to 'server')
-rw-r--r--server/tcpserver.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/server/tcpserver.cpp b/server/tcpserver.cpp
index 8799648..545e666 100644
--- a/server/tcpserver.cpp
+++ b/server/tcpserver.cpp
@@ -25,8 +25,7 @@ void TCPServer::handle_connection(Connection::p connection, const boost::system:
connection->connected();
- Message::p m = Message::create();
- //m->payload = "Hei morn!";
+ Message::p m = make_shared<Message::Hello>("aotenjoud git");
connection->send(m);