mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-30 21:50:49 +01:00
Multi-hop REQ/REP, part IX., pass the peer identity as far as socket_base_t
This commit is contained in:
@@ -76,7 +76,7 @@ int zmq::options_t::setsockopt (int option_, const void *optval_,
|
||||
return 0;
|
||||
|
||||
case ZMQ_IDENTITY:
|
||||
identity.assign ((const char*) optval_, optvallen_);
|
||||
identity.assign ((const unsigned char*) optval_, optvallen_);
|
||||
return 0;
|
||||
|
||||
case ZMQ_RATE:
|
||||
|
||||
Reference in New Issue
Block a user