UNIX域套接字用于在同一台机器上运行的进程之间的通信。UNIX域套接字提供流和数据报两种接口。创建一对非命名的、相互连接的UNIX域套接字。socketpair1.命名UNIX域套接字1)套接字地址格式,在linux下如下所示struct sockaddr_un {sa_family_t sun_...
分类:
其他好文 时间:
2015-09-06 21:34:08
阅读次数:
303
1. Do in-domain search and out-domain search start do things in one aspect and become the expert in this aspect if I wanna do something in CS, see how...
分类:
其他好文 时间:
2015-09-06 19:52:45
阅读次数:
156
Signature Creator for NXP Cortex-M DevicesAlgorithm for creating the checksumThe reserved Cortex-M3 exception vector location 7 (offset 0x001C in the ...
分类:
其他好文 时间:
2015-09-06 14:43:51
阅读次数:
594
1 Route::group(array('domain' => 'localhost'), function() 2 { 3 Route::get('/',function(){ 4 return 'localhost'; 5 }); 6 }); 7 Route:...
分类:
其他好文 时间:
2015-09-06 14:36:49
阅读次数:
137
It is often appropriate to reuse a single object instead of creating a new functionally equivalent object each time it is needed.Reuse can be both fas...
分类:
编程语言 时间:
2015-09-06 14:32:40
阅读次数:
184
正在做2016实验的插曲,无法使用我的用户hao.yu登录DC,尼玛我是domainadmins组里面的好叫,微软的节操呢,开发组策略的同学我请你出来喝咖啡。启动mmc后找到本地安全策略的用户权限指派,右面找允许本地登录把老子的身份添加进去加了本地管理员组和域管理员居然还是无法继续,..
分类:
其他好文 时间:
2015-09-06 11:02:59
阅读次数:
993
socket描述符套接字是通信端点的抽象,创建一个套接字使用如下函数:#include int socket(int domain, int type, int protocol);返回值:若成功,返回套接字描述符;若出错,返回-1说明:domain: 指定通信的特征,包括地址格式,以AF_开头的常...
分类:
系统相关 时间:
2015-09-05 17:40:34
阅读次数:
344
1.工厂方法模式的定义工厂方法模式使用的频率非常高, 在我们日常的开发中总能见到它的身影。 其定义为:Define an interface for creating an object,but let subclasses decide which class toinstantiate.Fact...
分类:
编程语言 时间:
2015-09-04 12:19:43
阅读次数:
272
今天在使用AspectJ进行注解切面时,遇到了一个错误。切点表达式就是无法识别——详细报错信息如下:Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating b...
分类:
Web程序 时间:
2015-09-04 09:54:38
阅读次数:
342
c/c++ unix ipc一个例子//c_unix.c#include #include #include #include #define UNIX_DOMAIN "/tmp/UNIX.domain"int main(void){int connect_fd;int ret;char snd_b...
分类:
编程语言 时间:
2015-09-04 07:29:11
阅读次数:
174