Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
    anyone here?
    Is the czmq home page example supposed to work?
    I just banged my head on the wall for several hours trying to get it compile, failing in zsock_t type not being found
    then tried some of the advanced examples from the cmzq guide repo and none of the examples use this zsock_t type and it cannot be even found in any of the header files included in libzmq or czmq
    so the question is: the home page hello world example is deprecated?
    Kevin Sapper
    @teropes sorry for the late response
    Yes the czmq home page example is supposed to work.
    Which version of czmq are you using? And how did you install it?
    @shuangliyue 是! :)
    @sappo no problem, it took only 4 years :D
    Nick Brown
    Can anyone offer me any insight into the cause/fix for the following compilation error?
    In file included from /home/user1/work/vermont/src/modules/ipfix/IpfixCollectorCfg.cpp:22:                              
    In file included from /home/user1/work/vermont/src/modules/ipfix/CollectorCfg.h:33:                                     
    In file included from /home/user1/work/vermont/src/modules/ipfix/IpfixReceiverZmq.hpp:32:                               
    In file included from /usr/include/czmq.h:37:                                                                           
    In file included from /usr/include/czmq_library.h:23:                                                                   
    /usr/include/czmq_prelude.h:665:13: error: cannot combine with previous 'int' declaration specifier                     
    typedef int SOCKET;                                                                                                     
    /usr/include/pcap/socket.h:79:20: note: expanded from macro 'SOCKET'                                                    
        #define SOCKET int                                                                                                  
    1 error generated.