添加一个drive:guestfs_add_drive_optsadd-drive filename [readonly:true|false] [format:..] [iface:..] [name:..] [label:..] [protocol:..] [server:..]This fun...
分类:
其他好文 时间:
2014-07-11 20:10:26
阅读次数:
392
我们的程序与抽象模型互动,因此不需要管理细节。与关系型数据库大不相同,以至于谷歌称之为datastore,而非database。App数据存储在数个不同位置,依据best-of-breed consensus protocol。datastore最好理解为object database. datas...
分类:
其他好文 时间:
2014-07-11 10:14:53
阅读次数:
198
协议是为方法、属性等定义一套规范,没有具体的实现。协议能够被类、结构体等具体实现(或遵守)。 protocol SomeProtocol {
// protocoldefinition goes here
}
struct SomeStructure: FirstProtocol, AnotherProtocol {
// structure defin...
分类:
其他好文 时间:
2014-07-09 11:07:07
阅读次数:
180
delegate或者protocol申请属性的时候为什么用assign而不是retain...
分类:
其他好文 时间:
2014-07-09 10:21:45
阅读次数:
199
1.协议是一种为有源代码的类扩充方法的方式。2.协议只是一系列方法的生命,就相当于一张任务清单,规定了要做的事情,但是具有的实施(也就是实现),是由服从该协议的类来实现。所以协议只有.h文件,并且不可以定义变量3.协议的定义是以@protocol开头,+协议的名字<>(..
分类:
移动开发 时间:
2014-07-09 08:27:33
阅读次数:
223
TCP创建socket:1 int socket(int domain, int type, int protocol);AF = Address FamilyPF = Protocol FamilyAF_INET IPv4 Internet protocols ip(7)AF_INET6 IPv6...
分类:
其他好文 时间:
2014-07-08 22:39:05
阅读次数:
352
套接字是通信端点的抽象。文件描述符用open函数创建,而套接字描述符用socket函数创建。socket函数原型如下:
int socket(int domain, int type, int protocol);
// 返回值:成功返回套接字描述符,失败返回-1
domain域确定通信特性,不同的域表示地址的格式不同,表示域的常数以AF开头,表示地址族(address family)...
分类:
系统相关 时间:
2014-07-08 16:34:18
阅读次数:
333
默认交叉编译器已经搭建好。。。。。。。。。。。。。。。
需求:
把标准的h264流保存成avi格式的实现文件,所以需要h264的解码器,avi文件容器,传输协议类型是文件,这些会体现在ffmpeg的configure配置上--disable-everything --enable-protocol=file --enable-encoder=libx264 --enable-encoder=l...
分类:
其他好文 时间:
2014-07-08 15:16:30
阅读次数:
865
TCP(Transmission Control Protocol) 传输控制协议TCP是主机对主机层的传输控制协议,提供可靠的连接服务,采用三次握手确认建立一个连接:位码即tcp标志位,有6种标示: SYN(synchronous建立联机) ...
分类:
其他好文 时间:
2014-07-08 00:21:03
阅读次数:
323
怎样在同一系统中启动多个 TOMCAT
port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
http请求处理端口,我们在网页上输入的...
分类:
其他好文 时间:
2014-07-06 12:24:04
阅读次数:
239