diff options
Diffstat (limited to 'libcmix-network')
| -rw-r--r-- | libcmix-network/connect.hpp | 2 | ||||
| -rw-r--r-- | libcmix-network/protobufclient.hpp | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/libcmix-network/connect.hpp b/libcmix-network/connect.hpp index f58c3e1..ba70c70 100644 --- a/libcmix-network/connect.hpp +++ b/libcmix-network/connect.hpp @@ -21,7 +21,7 @@ boost::asio::ip::tcp::socket connect(std::string host, std::string port, boost:: * \brief async_connect Asynchronously connects to the supplied endpoint. * \param socket The socket on which to invoke the asynchronous connect. * \param host The host - * \param next_port The port + * \param port The port * \param on_connect The function to call when the connect has succeeded. */ void async_connect(boost::asio::basic_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp>>& socket, std::string host, std::string port, std::function<void()> on_connect);
\ No newline at end of file diff --git a/libcmix-network/protobufclient.hpp b/libcmix-network/protobufclient.hpp index 15bcaec..a5d2cc5 100644 --- a/libcmix-network/protobufclient.hpp +++ b/libcmix-network/protobufclient.hpp @@ -72,6 +72,9 @@ public: using C::is_open; }; +/*! + * \brief Its a conveniance typedef for non SSL connections. + */ template <typename T> using ProtobufClient = BaseProtobufClient<Client, T>; |
