转载请包含网址:http://blog.csdn.net/pathuang68/article/details/7351317一、SurfaceSurface就是“表面”的意思。在SDK的文档中,对Surface的描述是这样的:“Handle onto a raw buffer that is be...
分类:
其他好文 时间:
2014-07-19 17:22:55
阅读次数:
288
A method for optimizing the throughput of TCP/IP applications by aggregating user application data and consolidating multiple TCP/IP connection stream...
分类:
Web程序 时间:
2014-07-19 17:17:57
阅读次数:
428
1. Cap'n Protoprotocol buffer的主要作者之一创建的新项目。其主页描述Cap'n Proto的性能比PB快很多。http://kentonv.github.io/capnproto/index.html2. FlatBufferFlatBuffers is a serial...
分类:
其他好文 时间:
2014-07-19 00:28:17
阅读次数:
291
1、socket int socket(int domain, int type,int protocol) domain:说明我们网络程序所在的主机采用的通讯协族(AF_UNIX和AF_INET等). AF_UNIX只能够用于单一的Unix系统进程间通信,而AF_INET是针对Internet的,...
分类:
系统相关 时间:
2014-07-18 17:37:12
阅读次数:
332
SOCKET()我们使用系统调用socket()来获得文件描述符:#include#includeint socket(int domain,int type,int protocol);第一个参数domain设置为“AF_INET”。第二个参数是套接口的类型:SOCK_STREAM或SOCK_DG...
分类:
其他好文 时间:
2014-07-18 13:37:18
阅读次数:
330
bool iconv_convert(const std::string& in, std::string& out, const char* fromcode, const char* tocode)
{
char buffer[128];
auto cd = iconv_open(tocode, fromcode);
if (cd != nullptr)
{...
分类:
其他好文 时间:
2014-07-18 11:15:10
阅读次数:
188
1、简介 目前,在IP网络中实现实时语音、视频通信和应用已经成为网络应用的一个主流技术和发展方向,本文详细介绍IP协议族中用于实时语音、视频数据传输的标准协议RTP( Real-time Transport Protocol)和RTCP(RTP Control Ptotocol)的主要功能。 ...
分类:
其他好文 时间:
2014-07-18 10:01:25
阅读次数:
241
Firefly通信协议一、Protocol Buffers简介《烽烟OL》的通信协议采用的是Google 的Protocol Buffers,Protocol Buffers(以下简称PB)是一种用于序列化结构化数据的机制,可用于用于分布式应用之间的数据通信或者异构环境下的数据交换。它具有灵活、高效...
分类:
其他好文 时间:
2014-07-18 08:02:38
阅读次数:
240
1.SMTP只负责将邮件发送到服务器,其他的,像身份认证检测邮件,都不能完成。(25/tcp) ESMTP:Extended SMTP POP3:Post Office Protocol IMAP4:Internet Mail Access Protocol2.Open Relay:开放式中继就是人...
分类:
系统相关 时间:
2014-07-18 00:08:40
阅读次数:
359
SQL>CREATEDATABASELINKmydblink2CONNECTTOtestIDENTIFIEDBYtest1233USING'(DESCRIPTION=4(ADDRESS_LIST=5(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.1.210)(PORT=15...
分类:
数据库 时间:
2014-07-17 22:26:25
阅读次数:
273