czmq icon indicating copy to clipboard operation
czmq copied to clipboard

can use zsock_new_pub() api set ipv6

Open wangwenqiangGitHub opened this issue 3 years ago • 3 comments

wangwenqiangGitHub avatar Sep 08 '22 12:09 wangwenqiangGitHub

please elaborate, what is the problem?

sphaero avatar Sep 21 '22 08:09 sphaero

please elaborate, what is the problem?

CZMQ_EXPORT zsock_t *
    zsock_new_pub (const char *endpoint);

this API how to use in IPV6 network

wangwenqiangGitHub avatar Sep 22 '22 02:09 wangwenqiangGitHub

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

sphaero avatar Jan 26 '23 19:01 sphaero