mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-31 01:43:02 +08:00
Comments to clarify the socket name function
This commit is contained in:
parent
1fe7820629
commit
cabf4e658f
@ -58,6 +58,8 @@ namespace zmq
|
|||||||
|
|
||||||
protected:
|
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;
|
const char *socket_type_string (int socket_type) const;
|
||||||
|
|
||||||
size_t add_property (unsigned char *ptr, const char *name,
|
size_t add_property (unsigned char *ptr, const char *name,
|
||||||
|
@ -109,8 +109,6 @@ namespace zmq
|
|||||||
size_t add_property (unsigned char *ptr,
|
size_t add_property (unsigned char *ptr,
|
||||||
const char *name, const void *value, size_t value_len);
|
const char *name, const void *value, size_t value_len);
|
||||||
|
|
||||||
const char *socket_type_string (int socket_type);
|
|
||||||
|
|
||||||
// Underlying socket.
|
// Underlying socket.
|
||||||
fd_t s;
|
fd_t s;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user