一 远程过程调用RPC
XML-RPC is a Remote Procedure Call method that uses XML passed via HTTP as a transport. With it, a client can call methods with parameters on a remote server (the server is named by a UR...
分类:
编程语言 时间:
2014-11-17 15:56:14
阅读次数:
177
#include "liveMedia.hh"#include "BasicUsageEnvironment.hh"#include "GroupsockHelper.hh"UsageEnvironment* env;portNumBits tunnelOverHTTPPortNum = 0;con...
分类:
其他好文 时间:
2014-11-17 15:34:07
阅读次数:
104
-server ?设置jvm使server模式,特点是启动速度比较慢,但运行时性能和内存管理效率很高,适用于生产环境。在具有64位能力的jdk环境下将默认启用该模式,而忽略-client参数。 几台服务器的JVM占用内存总是持续增...
分类:
其他好文 时间:
2014-11-17 12:38:22
阅读次数:
230
最近要用到Qt的Socket部分,网上关于这部分的资料都比较复杂,我在这总结一下,把Socket的主要部分提取出来,实现TCP和UDP的简单通信。1.UDP通信UDP没有特定的server端和client端,简单来说就是向特定的ip发送报文,因此我把它分为发送端和接收端。注意:在.pro文件中要添加...
分类:
其他好文 时间:
2014-11-16 23:02:26
阅读次数:
243
在做小帮手1.2的过程中,添加大声Hi的webView的时候的一些知识:1.webView的两个client WebViewClient:WebViewClient会在一些影响网页内容的动作发生时被调用,比如url的打开 WebChromeClient:WebChromeClient会在一些影响浏览...
分类:
其他好文 时间:
2014-11-15 23:06:28
阅读次数:
319
client.c 1 /* interactionSocket/client.c 2 * 实现终端与服务器端的交互式输入输出 3 */ 4 #include 5 #include 6 #include 7 #include 8 #include 9 ...
分类:
系统相关 时间:
2014-11-15 21:36:10
阅读次数:
310
使用Socket类中的Poll方法,就可以。Socket client //假如已经创建好了,连接到服务器端得Socket的客户端对象。我们只要client.Poll(10,SelectMode.SelectRead)判断就行了。只要返回True是。就可以认为客户端已经断开了。Poll 方法将会检查...
#vi/etc/sysconfig/i18n将内容改为LANG="zh_CN.GB18030"LANGUAGE="zh_CN.GB18030:zh_CN.GB2312:zh_CN"SUPPORTED="zh_CN.GB18030:zh_CN:zh:en_US.UTF-8:en_US:en"SYSFO...
分类:
系统相关 时间:
2014-11-15 06:34:41
阅读次数:
288
Net::LDAP for Ruby (also called net-ldap) implements client access for the Lightweight Directory Access Protocol (LDAP), an IETF standard protocol for...
分类:
其他好文 时间:
2014-11-14 23:56:49
阅读次数:
313
Server Server 框架流程:(1)首先获取连接 client = serverTransport_->accept();(2)然后获取thransport和protocol inputTransport = inputTransportFactory_->getTransport(cl.....
分类:
其他好文 时间:
2014-11-14 17:29:19
阅读次数:
366