1.IIS 7
以上版本集成了两种模式,一种是经典模式,一种是集成模式(直接将asp.net框架集成到IIS中)2.浏览器和服务器端通过什么技术来实现的?Socket(套接字),通信的语法是HTTP协议,也就是请求报文和响应报文3.浏览器请求asp.net页面实际是请求的asp.net页面里的Pro...
分类:
Web程序 时间:
2014-05-12 12:38:24
阅读次数:
468
当接收的类使用的是BufferedReader,发送的类是BufferedWriter的时候,要注意发送的一行要有换行标识符。请看下面一个例子,服务器接收不到客户端的信息。服务器:import
java.io.*;import java.net.ServerSocket;import java.ne...
分类:
编程语言 时间:
2014-05-12 09:49:58
阅读次数:
332
在昨天的博文中我们犯了一个很低级的错误——把13ms算成了130ms(感谢陈硕发现这个错误!),从而对问题的原因作出了错误的推断,望大家谅解!从中我们吸取到了一个教训:趁热打铁要小心,容易失去冷静,作出错误的判断。
分类:
其他好文 时间:
2014-05-12 09:18:14
阅读次数:
322
服务器端尽可能使用RUSEADDR。
在绑定之前尽可能调用setsockopt...
分类:
其他好文 时间:
2014-05-11 14:38:19
阅读次数:
312
p2pcli.c
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#define ERR_EXIT(m) do { perror(m...
分类:
其他好文 时间:
2014-05-11 07:13:56
阅读次数:
750
服务端1usingSystem;2usingSystem.Collections.Generic;3usingSystem.Text;4usingSystem.Net.Sockets;5usingSystem.Net;6usingSystem.Threading;78namespaceControl...
分类:
其他好文 时间:
2014-05-11 04:28:28
阅读次数:
329
首先,来看怎么构造一个org.apache.hadoop.yarn.client.api.YarnClientclass
ClientHelper(conf: Configuration) extends Logging { val yarnClient =
YarnClient.createYa....
分类:
移动开发 时间:
2014-05-10 22:39:32
阅读次数:
656
客户端正常关闭socket的时候,服务器端的readLine()方法会返回null,或者read()方法会返回-1
分类:
编程语言 时间:
2014-05-10 22:27:48
阅读次数:
522
第一步,激活Drive API首先,注册Google帐号;其次,登录Google Developers
Console;接着,建立工程和程序;紧接,激活APIs & auth;最后,选择Credentials。第二步,安装Google Client
Library安装一个NuGet包(Google....
一、haproxy和keepalived的解释:1、haproxy:haproxy是免费、极速且可靠的用于为TCP和基于HTTP应用程序提供负载均衡和代理服务的解决方案,尤其适用于高负载且需要持久连接或7层处理机制的web站点。2、haproxy的特性:客户端侧的长连接(client-sidekeep-alive);TCP加速(TCPsp..
分类:
其他好文 时间:
2014-05-10 09:03:23
阅读次数:
553