zeromq / czmq

High-level C binding for ØMQ
czmq.zeromq.org
Mozilla Public License 2.0
1.16k stars 523 forks source link

can use zsock_new_pub() api set ipv6 #2232

Open wangwenqiangGitHub opened 1 year ago

sphaero commented 1 year ago

please elaborate, what is the problem?

wangwenqiangGitHub commented 1 year ago

please elaborate, what is the problem?

CZMQ_EXPORT zsock_t *
    zsock_new_pub (const char *endpoint);

this API how to use in IPV6 network

sphaero commented 1 year ago

It should just work as with libzmq though you might need to enable ipv6 first: zsys_set_ipv6 (1);