aboutsummaryrefslogtreecommitdiff
path: root/libcmix-network/connect.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcmix-network/connect.hpp')
-rw-r--r--libcmix-network/connect.hpp2
1 files changed, 1 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