2014年6月13日

消息队列实现实时通信

摘要: 此实例是一个简单的使用消息队列进行实时聊天的本机通信程序,,发送端每发送一个消息,会立即被接收读取,在没有消息在消息队列中时,将处于阻塞状态。终端1运行接收端#include #include #include #include #include #include #include struct m... 阅读全文

posted @ 2014-06-13 15:27 lakeone 阅读(712) 评论(0) 推荐(0) 编辑

导航