Socket通常称为“”套接字。Socket字面上的中文意思为“插座”。一台服务器可能会提供很多服务,每种服务对应一个Socket,而客户的“插头”也是一个Socket。Socket是应用层与TCP/IP协议族通信的中间软件抽象层,它是一组接口。Socket把复杂的TCP/IP协议族隐藏在Socket接口后面,对用户来说,一组简单的接口就是全部,让Socket去组织数据,以符合指定的协议。Sock...
分类:
移动开发 时间:
2014-06-04 13:08:20
阅读次数:
446
One reason to use the wrapper objects is when
you want to augment the value and persist state. Because primitives are not
objects, they cannot be augm...
分类:
移动开发 时间:
2014-06-03 16:20:47
阅读次数:
345
One of the most important use-case in any cloud
is provisioning a VM . In this article we shall do a walk through about an
instance(VM) being provisio...
分类:
其他好文 时间:
2014-06-03 15:04:09
阅读次数:
444
public
interfaceWindowManagerimplementsViewManagerandroid.view.WindowManagerClass
Overview类的概览The interface that apps use to talk to the window manage...
ADB的全称为Android Debug
Bridge,就是起到调试桥的作用。通过adb我们可以在Eclipse中方便通过DDMS来调试Android程序,说白了就是debug工具。adb的工作方式比较特殊,采用监听Socket
TCP 5554等端口的方式让IDE和Qemu通讯,默认情况下ad.....
分类:
数据库 时间:
2014-06-02 15:40:53
阅读次数:
337
项目中用到了Android和C++的通信,选择了用socket 发送字符的方式,一开始使用的代码是:
socket=new Socket();
InetSocketAddress is = new InetSocketAddress(IP, port);
socket.connect(is, 100);
PrintWriter out=new P...
分类:
移动开发 时间:
2014-06-02 15:32:48
阅读次数:
267
看了两天,这三者之间的关系好像是这样的,因为GS和net在同一台机器上,所以用共享内存通信,毕竟共享内存通信是最快的进程间通信的方式,而NGP是属于客户端的,Net是属于服务器的,他与Net进程是基于LibEvent通信的,Libevent里面创建的是基于Tcp创建的socket,也就是靠他进行网络...
分类:
Web程序 时间:
2014-06-02 10:15:02
阅读次数:
301
11GRAC配置NTP服务器
tip01的IP:162.20.1.228NTP服务端
tip02的IP:162.20.1.229NTP客户端
配置NTP服务器之前,确认服务器已装好NTP包
[root@tip01~]#rpm-qa|grepntp
ntp-4.2.2p1-9.el5_4.1
chkfontpath-1.10.1-1.1
然后再把服务器的系统时钟与硬件时间同步一下
先查看下..
分类:
系统相关 时间:
2014-06-02 03:21:00
阅读次数:
260
Use Private Members from Base Class in Derived
Class
分类:
其他好文 时间:
2014-06-02 01:41:40
阅读次数:
244