0
0
mirror of https://github.com/zeromq/libzmq.git synced 2024-12-27 15:41:05 +08:00

Problem: remaining uses of "identity"

Solution: replaced by "routing id"
This commit is contained in:
sigiesec 2017-09-07 12:37:42 +02:00
parent 1414bf938c
commit 4b821d8f84
2 changed files with 3 additions and 3 deletions

View File

@ -226,10 +226,10 @@ namespace zmq
// asks us to.
bool delay;
// Identity of the writer. Used uniquely by the reader side.
// Routing id of the writer. Used uniquely by the reader side.
blob_t router_socket_routing_id;
// Identity of the writer. Used uniquely by the reader side.
// Routing id of the writer. Used uniquely by the reader side.
int server_socket_routing_id;
// Pipe's credential.

View File

@ -167,7 +167,7 @@ void test_req_message_format (void *ctx)
zmq_msg_t msg;
zmq_msg_init (&msg);
// Receive peer identity
// Receive peer routing id
rc = zmq_msg_recv (&msg, router, 0);
assert (rc != -1);
assert (zmq_msg_size (&msg) > 0);