diff --git a/src/sockets/plain.hpp b/src/sockets/plain.hpp index 06ca409a88..43c666b76e 100644 --- a/src/sockets/plain.hpp +++ b/src/sockets/plain.hpp @@ -71,10 +71,14 @@ public: protected: connection(plain& e) : m_socket(e.get_io_service()) {} - void init() {} + void init() { + + } void async_init(socket_init_callback callback) { // TODO: should this use post()? + m_socket.set_option(boost::asio::ip::tcp::no_delay(true)); + callback(boost::system::error_code()); }