A method implemented by a network device residing in a service domain, wherein the network device comprises an information centric networking (ICN) tr...
分类:
Web程序 时间:
2014-07-25 02:58:55
阅读次数:
596
Google Custom Search Engines use a timer to check the hash against a previous value, whilst the child iframe on a seperate domain updates the parent‘s location hash to contain the size of the ifram...
分类:
Web程序 时间:
2014-07-24 12:31:35
阅读次数:
289
什么是跨域1、document.domain+iframe的设置2、动态创建script3、利用iframe和location.hash4、window.name实现的跨域数据传输5、使用HTML5 postMessage6、利用flash本文来自网络(http://f2e.me/200904/cr...
分类:
编程语言 时间:
2014-07-23 12:30:46
阅读次数:
296
java.lang.ClassCastException: com.chat.upgrade.domain.ClientFile cannot be cast to java.lang.String
今天查一个对象转化成json串报错的问题,查了两个小时,最后问题的根源居然是ibatis。
ibatis的语句如下:
SELECT url
FROM c...
分类:
其他好文 时间:
2014-07-22 23:59:28
阅读次数:
567
对于tr1::shared_ptr在安装vs同时会自带安装,但是版本较低的不存在。而boost作为tr1的实现品,包含
“Algorithms
Broken Compiler Workarounds
Concurrent Programming
Containers
Correctness and Testing
Data Structures
Domain Specific
Fu...
分类:
其他好文 时间:
2014-07-19 23:18:19
阅读次数:
371
只是简单说明一下原理,其它的自己探索吧:)一、两个域名:www.domain.com和img.domain.com二、在www域名的服务器中上传文件:up.html save.phpif(@$_GET['action']=="ok"){ $picname="upfile/".rand...
分类:
Web程序 时间:
2014-07-19 17:19:36
阅读次数:
237
socketpair函数概要例如以下:#include #include int socketpair(int domain, int type, int protocol, int sv[2]);sys/types.h文件须要用来定义一些C宏常量。sys/socket.h文件必须包括进来定义soc...
分类:
其他好文 时间:
2014-07-19 12:26:15
阅读次数:
304
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
前两天,在测试服务器上通过配置host来测试系统,发现在IE下面cookie的读写存在问题,一开始以为是代码和框架的问题,于是写了一个最简单的PHP页面来读写,发现依然不行。通过fiddler抓包软件发现cookie确实有正常的传输,说明网络是OK的。后来怀疑是php配置的问题,于是将PHP..
分类:
其他好文 时间:
2014-07-18 13:24:07
阅读次数:
166