From cabf4e658f2e4ad4d18377b53566d3a4a353c274 Mon Sep 17 00:00:00 2001 From: Ian Barber Date: Fri, 21 Jun 2013 16:56:45 +0100 Subject: [PATCH] Comments to clarify the socket name function --- src/mechanism.hpp | 2 ++ src/stream_engine.hpp | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mechanism.hpp b/src/mechanism.hpp index 1f6245ac..a9b04172 100644 --- a/src/mechanism.hpp +++ b/src/mechanism.hpp @@ -58,6 +58,8 @@ namespace zmq protected: + // Only used to identify the socket for the Socket-Type + // property in the wire protocol. const char *socket_type_string (int socket_type) const; size_t add_property (unsigned char *ptr, const char *name, diff --git a/src/stream_engine.hpp b/src/stream_engine.hpp index 0ef0ffd4..1f337e02 100644 --- a/src/stream_engine.hpp +++ b/src/stream_engine.hpp @@ -109,8 +109,6 @@ namespace zmq size_t add_property (unsigned char *ptr, const char *name, const void *value, size_t value_len); - const char *socket_type_string (int socket_type); - // Underlying socket. fd_t s;