摘要: e). 消息延迟发送(和前面没太大区别直接上代码) #include <iostream> #include "caf/all.hpp" #include "caf/io/all.hpp" #include <string> #include <chrono> using namespace std 阅读全文
posted @ 2016-03-06 15:10 浙江小麦 阅读(1177) 评论(0) 推荐(0)
摘要: c). 同步发送, 等待响应, 超时后收到1个系统消息. 贴上代码 #include <iostream> #include "caf/all.hpp" #include "caf/io/all.hpp" #include <string> #include <thread> #include <c 阅读全文
posted @ 2016-03-06 11:24 浙江小麦 阅读(1143) 评论(0) 推荐(0)