上一页 1 ··· 543 544 545 546 547 548 549 550 551 ··· 617 下一页

2019年8月14日

摘要: protobuf序列化之后为二进制数据,数据中可能包含 ‘\0’,直接转换为char *类型会导致发送数据不完整。解决方法: void buildProtobufMsg(const string& test,zmq::message_t *msg){ if (msg == nullptr) { re 阅读全文
posted @ 2019-08-14 10:25 lydstory 阅读(962) 评论(0) 推荐(0)
摘要: 找到可以恢复的手机图片 矩阵相乘 mat() {} 量化表 8*8 矩阵 与 2 4 2 2 16 16 16后面都是16的8*8矩阵相乘 计算变化的位是否可恢复 单独一张jpg的计算函数 阅读全文
posted @ 2019-08-14 09:00 lydstory 阅读(346) 评论(0) 推荐(0)

2019年8月13日

摘要: https://github.com/AifiHenryMa/zeromq_protocolbuffer_demo https://github.com/protocolbuffers/protobuf github protobuf 随着使用的协议而有所不同,具体如下: TCP (tcp://ho 阅读全文
posted @ 2019-08-13 20:37 lydstory 阅读(1361) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/lb1885727/article/details/81363189 国产机 编译qt5.9 qml 等模块 阅读全文
posted @ 2019-08-13 20:16 lydstory 阅读(1667) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/wujunlei1595848/article/details/91129197 https://github.com/wkhtmltopdf/wkhtmltopdf github 阅读全文
posted @ 2019-08-13 20:11 lydstory 阅读(376) 评论(0) 推荐(0)
摘要: singleton 类模板限制类只能定义一个对象 singleton 类模板限制类只能定义一个对象 singleton 类模板限制类只能定义一个对象 ??? 阅读全文
posted @ 2019-08-13 19:49 lydstory 阅读(175) 评论(0) 推荐(0)
摘要: https://github.com/zeromq/libzmq 就那样吧,有些特色,也有一些坑。适用于基于报文的通信协议,但报文尺寸不能太大,控制在几K左右效果最佳。完全不适用于基于流的协议比如类似FTP那种。API设计的不错,但背后干了太多的事,包括但不限于创建了一个线程池、一个epoll lo 阅读全文
posted @ 2019-08-13 14:55 lydstory 阅读(239) 评论(0) 推荐(0)
摘要: https://github.com/bakkot/unix-socket-protobuf/tree/master/CPP/src https://github.com/bakkot/unix-socket-protobuf/blob/master/CPP/src/server_sync.cc 阅读全文
posted @ 2019-08-13 14:41 lydstory 阅读(423) 评论(0) 推荐(0)
摘要: 目标平台:linux、unix,如果能支持windows更好(不强求)进程调度库:1、基于io的调度,支持select、poll、epoll等2、支持多线程3、能提供较高精度的timer4、性能优秀只用过libevent和一些项目自带的调度系统{:3_188:} 进程通信库:1、一对一模式,通信内容 阅读全文
posted @ 2019-08-13 14:13 lydstory 阅读(214) 评论(0) 推荐(0)
摘要: https://github.com/svebert/InterprocessMsg 好像消息队列 阅读全文
posted @ 2019-08-13 13:51 lydstory 阅读(490) 评论(0) 推荐(0)
上一页 1 ··· 543 544 545 546 547 548 549 550 551 ··· 617 下一页

导航