07 2012 档案
mosquitto-0.15-lib-mosquitto.c源码分析
摘要:源码:/*Copyright (c) 2010-2012 Roger Light <roger@atchoo.org>All rights reserved.Redistribution and use in source and binary forms, with or withoutmodification, are permitted provided that the following conditions are met:1. Redistributions of source code must retain the above copyright notice, 阅读全文
posted @ 2012-07-30 10:12 aaronwxb 阅读(3870) 评论(0) 推荐(0)
mosquitto-0.15-client-sub_client.c源码分析
摘要:1 /* 2 Copyright (c) 2009-2012 Roger Light <roger@atchoo.org> 3 All rights reserved. 4 5 Redistribution and use in source and binary forms, with or without 6 modification, are permitted provided that the following conditions are met: 7 8 1. Redistributions of source code must retain the a... 阅读全文
posted @ 2012-07-30 10:08 aaronwxb 阅读(3276) 评论(0) 推荐(1)
mosquitto-0.15-client-pub_client.c源码分析
摘要:1 /* 2 Copyright (c) 2009-2012 Roger Light <roger@atchoo.org> 3 All rights reserved. 4 5 Redistribution and use in source and binary forms, with or without 6 modification, are permitted provided that the following conditions are met: 7 8 1. Redistributions of source code must retain the a... 阅读全文
posted @ 2012-07-30 10:05 aaronwxb 阅读(3419) 评论(0) 推荐(0)
mosquitto——一个开源的mqtt代理
摘要:MQTT(MQ Telemetry Transport),消息队列遥测传输协议,轻量级的发布/订阅协议,适用于一些条件比较苛刻的环境,进行低带宽、不可靠或间歇性的通信。值得一提的是mqtt提供三种不同质量的消息服务:“至多一次”,消息发布完全依赖底层 TCP/IP 网络。会发生消息丢失或重复。这一级别可用于如下情况,环境传感器数据,丢失一次读记录无所谓,因为不久后还会有第二次发送。“至少一次”,确保消息到达,但消息重复可能会发生。“只有一次”,确保消息到达一次。这一级别可用于如下情况,在计费系统中,消息重复或丢失会导致不正确的结果。下面是比较详细的介绍链接。MQ 遥测传输 (MQTT) V3. 阅读全文
posted @ 2012-07-20 17:36 aaronwxb 阅读(9913) 评论(1) 推荐(1)