aboutsummaryrefslogtreecommitdiff
path: root/libcmix-network
diff options
context:
space:
mode:
authorDennis Brentjes <d.brentjes@gmail.com>2017-04-16 22:49:17 +0200
committerDennis Brentjes <d.brentjes@gmail.com>2017-04-16 22:49:17 +0200
commit4895eff27938fa72e5a638ff173920e823ebb115 (patch)
tree6e8424f95f6b3c4cefd6ef4d1891a76059ce8276 /libcmix-network
parent33f81a3a57a047326160f371f3269dfb47c59cba (diff)
downloadcmix-4895eff27938fa72e5a638ff173920e823ebb115.tar.gz
cmix-4895eff27938fa72e5a638ff173920e823ebb115.tar.bz2
cmix-4895eff27938fa72e5a638ff173920e823ebb115.zip
Updated documentation and bumped Cmix to Version 1.0
Diffstat (limited to 'libcmix-network')
-rw-r--r--libcmix-network/connect.hpp2
-rw-r--r--libcmix-network/protobufclient.hpp3
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>;