From 8cd1126ab17f9b0bead53c8f88f6929211bc5765 Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Thu, 2 Jun 2011 00:20:16 +0200 Subject: Send a simple welcome message to the client. --- server.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'server.h') diff --git a/server.h b/server.h index 8b0f637..992e792 100644 --- a/server.h +++ b/server.h @@ -24,10 +24,11 @@ class Server { void handle_connect(Connection::p connection); void async_read(Connection::p connection); - void handle_message(const boost::system::error_code& error, size_t bytes_transferred, Connection::p connection, uint8_t *_type); + void handle_type(const boost::system::error_code& error, size_t bytes_transferred, Connection::p connection, uint8_t *_type); void handle_pos(Connection::p c); void handle_chunk(Connection::p c); + void handle_message(Connection::p c); }; #endif -- cgit v1.2.3