mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-09 15:26:04 +00:00
removed norm_engine dependency on deprecated encoder_base::has_data() method
This commit is contained in:
parent
0a97e05439
commit
cd9755e4aa
@ -33,6 +33,7 @@ int zmq::norm_engine_t::init(const char* network_, bool send, bool recv)
|
|||||||
// Parse the "network_" address int "iface", "addr", and "port"
|
// Parse the "network_" address int "iface", "addr", and "port"
|
||||||
// norm endpoint format: [id,][<iface>;]<addr>:<port>
|
// norm endpoint format: [id,][<iface>;]<addr>:<port>
|
||||||
// First, look for optional local NormNodeId
|
// First, look for optional local NormNodeId
|
||||||
|
// (default NORM_NODE_ANY causes NORM to use host IP addr for NormNodeId)
|
||||||
NormNodeId localId = NORM_NODE_ANY;
|
NormNodeId localId = NORM_NODE_ANY;
|
||||||
const char* ifacePtr = strchr(network_, ',');
|
const char* ifacePtr = strchr(network_, ',');
|
||||||
if (NULL != ifacePtr)
|
if (NULL != ifacePtr)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user