quick-cocos2d-x 学习系列之十二 关于websocket
1. 概念
百度百科:WebSocket protocol 是HTML5一种新的协议。它实现了浏览器与服务器全双工通信(full-duplex)。
在浏览器中通过http仅能实现单向的通信,comet可以一定程度上模拟双向通信,但效率较低,并需要服务器有较好的支持; flash中的socket和xmlsocket可以实...
分类:
Web程序 时间:
2015-03-10 10:32:02
阅读次数:
2812
Core API核心API主要有七类:带颜色的输出类(color output),上下文管理类(context managers), 装饰器类(decorators), 网络类(network), 操作类(oprations), 任务类(tasks), 工具类(utils)。Color Output...
http://www.cs.yale.edu/homes/aspnes/pinewiki/C%282f%29Macros.htmlSee KernighanRitchie Appendix A12.3 for full details on macro expansion in ANSI C and...
分类:
其他好文 时间:
2015-03-09 20:41:33
阅读次数:
196
Title:MSSQL BACKUP WEBSHELL -- Long Long Ago.Version:MSSQL 2005 && +';alter/**/database/**/zhongguang/**/set/**/RECOVERY/**/FULL;--';create/**/table/*...
分类:
数据库 时间:
2015-03-09 00:17:28
阅读次数:
356
本篇文章就介绍一下如何使用微软CAPI接口完成将USBKey中的证书注册到Windows系统中。(1)获取CSP句柄。CryptAcquireContext(&hTokenProv,NULL,“EnterSafe ET199Auto CSP V1.0”,PROV_RSA_FULL,NULL)(2)获...
/** * 获取编辑器工具栏自定义参数 * @param type 类型 simple=极简版 basic=基本版 full=完整版 */function get_ckeditor_toolbar(type) { if(!arguments[0]) type = 'simple'; /...
分类:
其他好文 时间:
2015-03-08 01:21:37
阅读次数:
163
在上一篇中,说到了如何制作一个能够发布到SharePoint CA中的full trust 的InfoPath template。这一篇继续说,如何发布到SharePoint 中并激活。
把这个xsn文件发给SharePoint Farm管理员。
使用Farm 管理员的身份,登入到Central Administration里面,找到InfoPath Form Service,进入...
分类:
其他好文 时间:
2015-03-06 11:25:03
阅读次数:
223
数据收集服务平均1小时OOM(java.lang.OutOfMemoryError: GC overhead limit exceeded)一次,发现都是在下载处理 JSON Atom Feed时OOM。怀疑是处理feed内存峰值消耗过大导致频繁Full GC。如下图: ![wu][1] # 分析...
分类:
编程语言 时间:
2015-03-06 10:10:49
阅读次数:
253
插入U盘,调试串口会显示:[root@FriendlyARM code]# usb 1-1: new full speed USB device using s3c2410-ohci 4usb 1-1: New USB device found, idVendor=0951, idProduct=1...
分类:
其他好文 时间:
2015-03-05 16:31:38
阅读次数:
148
regex1 @"w*(?\d*x\d*x\d*)\D*(?(\d*p\d*x*){0,3})_\w*" 测试数据: DY3_1_2_90cm_512x512x1464_0p4947x0p4947x0p625_140kv_16bit_signed.raw BB331_S05_8453p33_Full...