用户态对accept的标准使用方法:if ((client_fd = accept(sockfd, (struct sockaddr *)&remote_addr, &sin_size)) == -1) { //accept()函数让server接收客户的连接请求 perror("acce...
分类:
其他好文 时间:
2014-08-09 18:40:18
阅读次数:
323
springmvc 结合jQuery validate插件的remote方法 通过ajax检测用户注册时用户是否已存在...
分类:
Web程序 时间:
2014-08-09 16:03:38
阅读次数:
206
I am having problems with a bit of code that accesses a restful web service. Running this code, it errors out at var httpResponse = (HttpWebResponse)h...
分类:
Web程序 时间:
2014-08-08 20:56:16
阅读次数:
1149
一般来说这些日志的分析价值不高,而且还占用硬盘空间,一般都会关掉。nginx配置:location~.*\.(gif|jpg|jpeg|png|bmp|swf|ico)${access_logoff;proxy_passhttp://cdel_jxjy;proxy_redirectoff;proxy_set_headerHost$host;proxy_set_headerX-Real-IP$remote_addr;proxy_set_he..
分类:
Web程序 时间:
2014-08-08 18:24:56
阅读次数:
286
远程仓库的使用远程仓库是依托在网上的管理的项目,有些只能读,或可以写git remote 命令列出了该项目所有的远程仓库的简短名(它对应的是仓库的地址即url,如origin实际上是一个url),克隆或提交项目需要该名,默认是origin的远程库git remote -v 列出了简短名和url添加一...
分类:
其他好文 时间:
2014-08-07 23:00:54
阅读次数:
293
How to mount remote Windows sharesContentsRequired packagesBasic methodBetter MethodEven-better methodYet Another Even-better methodOK, we live in the...
1 登录github, 点击自己感兴趣的repository的fork按钮,这样自己的github主页会有一个拷贝。2 在自己本地修改同时保持和原来的repository同步:git remote -v, 看看自己当前git repository的configure, origin 表示自己的rep...
分类:
其他好文 时间:
2014-08-07 21:55:50
阅读次数:
220
#hgupstable
localchangedpath/to/file/file.extwhichremotedeleted
remote:use(c)hangedversionor(d)elete?c这是目录权限的问题...
分类:
其他好文 时间:
2014-08-06 15:05:52
阅读次数:
194
1.1 RMI?的基本概念 1.1.1 什么是RMI RMI(Remote Method Invocation) 远程方法调用是一种计算机之间对象互相调用对方函数,启动对方进程的一种机制,使用这种机制,某一台计算机上的对象在调用另外一台计算机上的...
分类:
编程语言 时间:
2014-08-05 23:15:22
阅读次数:
582
1、端口问题造成的连接失败 remote-prepare:
??[sshexec]?Connecting?to?123.123.123.123:22
java.net.ConnectException:?Connection?timed?out 解决办法 修改build.xml,配置端口号? <target?name="rem...
分类:
其他好文 时间:
2014-08-05 19:39:00
阅读次数:
202