Server端:一.安装NTP包1 #yum -y install ntp
/*yum安装NTP服务*/2 #chkconfig --add ntpd /*添加NTP*/3 #chkconfig ntpd on ...
分类:
其他好文 时间:
2014-06-11 22:37:33
阅读次数:
335
服务端代码://echoSvr.c#include #include #include
#include #include #include #include #include #include #define ERR_EXIT(m) \ do \
{ \ perror(...
分类:
其他好文 时间:
2014-06-11 22:15:11
阅读次数:
292
Welcome to the wonderful world of
portability... or rather the lack of it. Before we start analyzing these two
options in detail and take a deeper loo...
分类:
系统相关 时间:
2014-06-11 22:05:34
阅读次数:
407
关于游标的详细信息可参见http://www.cnblogs.com/moss_tan_jun/archive/2011/11/26/2263988.html博文本文只是针对sql2008下函数使用游标的完整方法的展示USE
[hbsp]GO/****** Object: UserDefinedF....
分类:
数据库 时间:
2014-06-11 21:59:15
阅读次数:
490
有的时候需要用python处理二进制数据,比如,存取文件,socket操作时.这时候,可以使用python的struct模块来完成.可以用
struct来处理c语言中的结构体.struct模块中最重要的三个函数是pack(), unpack(), calcsize()pack(fmt, v1,
v2...
分类:
编程语言 时间:
2014-06-11 13:23:29
阅读次数:
325
1.1Implement an algorithm to determine if a
string has all unique characters. What if you cannot use additional data
structures?字符串问题,需要先确定是不是只有ASCII码...
分类:
其他好文 时间:
2014-06-11 12:27:53
阅读次数:
247
先说明一下,本人是开发,对测试不是特别熟悉,但因工作的需要,也做过一些性能测试方面的东西。比较久之前很简单的用过,最近又用到了,熟悉一下。现做一个总结。使用loadrunner进行压力测试主要分两步,第一步是编写脚本(比较重点),第二步执行测试(配置都是在界面上点点就行了,当然我只的是比较简单的,能...
分类:
Web程序 时间:
2014-06-11 12:19:22
阅读次数:
294
转自:http://www.groad.net/bbs/thread-1709-1-1.html
程序说明:程序里包含服务端和客户端两个程序,它们之间使用 AF_UNIX 实现本机数据流通信。使用 AF_UNIX 域实际上是使用本地 socket
文件来通信。服务器端代码: #include...
分类:
其他好文 时间:
2014-06-11 11:30:05
阅读次数:
341
本文主要介绍使用LoadRunner手工编写Windows
Socket协议测试脚本的方法。通过LoadRunner编写Windows
Socket协议测试脚本,总体说来,比较简单。就像把大象放进冰箱一样,总共分三步:第一步:把冰箱门打开//建立到服务端的连接rc =
lrs_create_sock...
分类:
其他好文 时间:
2014-06-11 11:27:18
阅读次数:
258
7.Occupant Use CasesThe main actor in a
multi-user chat environment is the occupant, who can be said to be located "in"
a multi-user chat room and to ...
分类:
其他好文 时间:
2014-06-11 10:13:56
阅读次数:
261