From c1e39e20ca42b21eeac8b5068fa1f921bf9a070f Mon Sep 17 00:00:00 2001
From: lichao <lichao@aiotlink.com>
Date: 星期三, 23 六月 2021 19:43:29 +0800
Subject: [PATCH] refactor, start tcp pub/sub.

---
 box/tcp_proxy.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/box/tcp_proxy.h b/box/tcp_proxy.h
index 69c3f03..09febe5 100644
--- a/box/tcp_proxy.h
+++ b/box/tcp_proxy.h
@@ -33,6 +33,7 @@
 	TcpProxy(io_service_t &io) :
 	    io_(io) {}
 	bool Request(const std::string &ip, int port, std::string &&content, ReplyCB const &cb);
+	bool Publish(const std::string &ip, int port, std::string &&content);
 
 private:
 	io_service_t &io_;

--
Gitblit v1.8.0