目前大致的使用情况是使用pollfd, begin: nn_rep no nn_push no nn_pub can out nn_req can out nn_survey can in can out 但是如果没有survey就去recv,会报错EFSM. 使用nn_errno和nn_strerror打印错误信息 NN_SNDBUF就是so_sndbuf NN_RCVMA
海思移植nanomsg 修改 CMakeLists.txt 增加海思支持 # set cross-compiled system type, it's better not use the type which cmake cannot recognized.SET ( CMAKE_SYSTEM_NAME Linux )SET ( CMAKE_SYSTEM_PROCESSOR arm )