diff options
-rw-r--r-- | server/tcpserver.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/server/tcpserver.cpp b/server/tcpserver.cpp index 528d1a2..2977b0f 100644 --- a/server/tcpserver.cpp +++ b/server/tcpserver.cpp @@ -23,6 +23,11 @@ void TCPServer::handle_connection(Connection::p connection, const boost::system: connection->connected(); + Message::p m = Message::create(); + m->payload = "Hei morn!"; + + connection->send(m); + // Start listening for another connection attempt. listen(); }
\ No newline at end of file |