自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(48)
  • 收藏
  • 关注

Sealert causes memory leak

in my red hat server, it needs to restart every several days, very annoying.http://www.centos.org/modules/newbb/viewtopic.php?viewmode=flat&topic_id=8261&forum=37kill all the sealert p...

2010-11-26 11:19:00 62

做网上商城这个项目了。。。

今天开始就做网上商城这个项目,班级分成了10个小组,每个小组大概6人。好好努力吧。。。

2010-11-23 20:45:00 80

网络时间协议

1) From: http://www.time.edu.cn/ntp.htm网络时间协议简介 NTP(Network Time Protocol)是由美国德拉瓦大学的David L. Mills教授于1985年提出,除了可以估算封包在网络上的往返延迟外,还可独立地估算计算机时钟偏差,从而实现在网络上的高精准度计算机...

2010-11-23 17:28:00 82

c++学习笔记--类的static静态成员

static静态成员 1.static静态数据成员可以被该类所有对象所共享,但其不是每个对象中的成员。 2.static静态成员在类中声明之后,还必须要在类的外面定义一次,而且还要用 类名进行限定修饰。 class Account{ public: static double rate; } double Account::rate=0.12;//必须在类的定义之外...

2010-11-23 13:45:00 61

servlet问题

servlet是学习JSP的基础,所以这两天正在学习servlet,看了韩顺平老师视频的前两讲。我也跟老师后面用Jcretor,但是我运行的时候总是出错,我从网上查了,配置也弄好了,也没解决这个问题。这两天都在为这个问题而头疼。今天下午我问了网上一个学习java的朋友,他用Myeclipse运行我写的程序,可以运行,我也试了用myeclipse运行了,也成功了。看来是Jcretor的...

2010-11-22 16:57:00 48

源特定组播

From: http://codex.wordpress.org.cn/Source_Specific_Multicast随着网络宽带化进程的加快,流媒体以其直观性、实时性、互动性等特点广泛应用于视频点播、网络教学、网络直播等诸多业务。这些业务都具有点对多点的业务特性,因此,为了节省网络资源的占用,不论是ATM 还是IP,作为承载网络,组播技术都是必不可少的一项重要技术。随着...

2010-11-22 12:44:00 188

c++学习笔记--引用&

引用:引入对象的一个同义词,不会产生新的对象!例如: point p1(m,n); point &p2=p1;//p2为p1的同义词,改变p2的同时也会改变p1,但是编译器并没有给p2单独分配内存,他和p1是共用一块内存的!引用和const一样,必须马上初始化~例如如下类: class point { public: point(int m);//构造函...

2010-11-19 15:57:00 56

MBMS业务的技术实现及相关标准

From: http://www.catr.cn/tecm/dxwjs/201006/t20100610_1144062.htm摘要  介绍了移动通信网MBMS业务的特点和网络架构,阐述了MBMS系统中的主要功能实体和相关接口以及MBMS广播业务的业务流程,并指出移动通信网MBMS相关的国际、国内标准,分析了MBMS技术的创新点和MBMS业务的应用前景。.h1 { page...

2010-11-17 20:56:00 238

TCP/IP 详解 卷1 ch30 其他的TCP/IP应用程序

1. finger2. whois 例如:$ whois newsmth.netWhois Server Version 2.0Domain names in the .com and .net domains can now be registeredwith many different competing registrars. Go to http://www....

2010-11-16 22:09:00 160

TCP/IP 详解 卷1 ch29 网络文件系统

1. RPC : Remote Procedure Call2. XDR : External Data Representation3. 端口映射器: rpcbind/home/a/j/nomad2:rpcinfo program version netid address service owner 100000 4...

2010-11-16 21:52:00 52

TCP/IP 详解 卷1 ch28 SMTP:简单邮件传输协议

1. MTA: message transfer agent2. for more detail, refer to paper, “Secure Email base on PKI”.

2010-11-16 21:34:00 209

TCP/IP 详解 卷1 ch27 FTP: 文件传送协议

1. FTP 采用2个TCP连接来传输一个文件1) 控制连接以CS方式建立, server port is 21.2) 当一个文件在客户端和服务器端之间传输时,就创建一个数据连接。2. Data Representation数据表示的4个方面文件类型、格式控制、结构、传输方式3. 应答代码三位数字每位都有一定的意义,第一位确定响应是好的,坏的还是不完全的,通过检查第一位...

2010-11-16 21:13:00 83

TCP/IP 详解 卷1 ch26 Telnet和Rlogin

1. Rlogin的过程通常在服务器进程的主目录下生成一个文件(.rhosts),记录了一个主机名和用户名。如果从该文件中已经记录的主机上用已经记录的用户名登陆,服务器进程将不提示我们输入密码(建议不要采用)。密码是明文方式发送(Kerberos安全模型)。client port is 1023.2. 客户端进程每次给服务器端进程发送一个字节的内容,并且接收服务器进程的所有返回...

2010-11-16 20:18:00 68

TCP/IP 详解 卷1 ch25 SNMP:简单网络管理协议

1. 基于TCP/IP的网络管理包含3个部分:1) MIB, specifies what variables the network elements maintain (the information that can be queried and set by the manager).包含所有代理进程的所有可以查询和修改的参数2) SMI, A set of common st...

2010-11-16 16:29:00 64

c++学习笔记--this指针

一:this指针 this指针是成员函数具有的一个附加的隐含实参,是指向该类对象的一个指针。 何时使用this指针: 当我们需要将一个对象作为整体引用而不是引用对象的一个成员时,一般我们在这样的函数中使用this指针。 例如这样一个类: class Screen { public: Screen &move(int x,int c) Screen ...

2010-11-16 10:35:00 54

TCP/IP 详解 卷1 ch24 TCP的未来和性能

1. Path MTU DiscoveryIt is the minimum MTU on any network that is currently in the path between two hosts.MTU(A, B) = min { MTU(a, b) | (a,b) is on the path between host A and B}分组并不是越大越好2...

2010-11-14 11:35:00 54

TCP/IP 详解 卷1 ch23 TCP的保活定时器

1. 保活功能主要是为服务器应用程序提供的。The keepalive feature is intended for server applications that might tie up resources on behalf of a client, and want to know if the client host crashes. Many versions of the T...

2010-11-14 10:37:00 53

TCP/IP 详解 卷1 ch22 TCP的坚持定时器

1. 发送方必须能够处理ACK报文丢失的情况。TCP must handle the case of this acknowledgment that opens the window being lost. Acknowledgments are not reliably transmitted-that is, TCP does not ACK acknowledgments, it on...

2010-11-14 10:15:00 54

(详解)Eclipse3.6搭建 Android 2.2 开发环境

(详解)Eclipse3.6搭建 Android 2.2 开发环境搭建Android 的开发环境,步骤如下:1. 安装JDK。注意这里只是安装JRE是不行的,需要安装JDK笔者是去 http://www.oracle.com/technetwork/java/javase/downloads/index.html 下载了 JDK 6 Update 20。注: 根据w...

2010-11-13 20:01:00 82

TCP/IP 详解 卷1 ch21 TCP的超时与重传

1. TCP超时与重传指数避让(exponential backoff)2. Round-Trip Time MeasurementR <- aR + (1-a)M a = 0.9RTO : Retransmission TimeoutRTO = Rb b = 23. TCP的4个定时器1) A retransmission timer is used when ...

2010-11-12 20:26:00 75

c++ 学习笔记-----头文件预处理

类的定义一般放在头文件中,但因为在一个给定的源文件中,一个类只能被定义一次(如果在多个文件中定义一个类,那么每个文件中的定义必须是完全相同的),为了避免含有类的定义的头文件被多次包含,造成类被重复定义(常见错误就是link 2001),我们可以在类的定义的头文件中使用头文件预处理变量 例如: #ifndef SALESITEM_H //测试 SALESITEM_H预处理变量是否未定义,如...

2010-11-12 19:32:00 111

c++ 学习笔记 ----内联函数(inline)

在c++中调用函数时,电脑要做很多事:调用前要先保存寄存器,并在返回时恢复;而且还有实参到形参的传值;如果一个函数在源码中多次被调用,这样就会很浪费计算机的资源,但是如果我们将这个函数声明为内联函数,就可不必有这样的担心了。例如这样一个函数:int max(int x,int y){ return x>y?x:y}如果将其声明为内联,即inline int max(...

2010-11-12 19:08:00 69

TCP/IP 详解 卷1 ch20 TCP Bulk Data Flow

1. 滑动窗口协议1) The window closes as the left edge advances to the right. This happens when data is sent and acknowledged.2) The window opens when the right edge moves to the right, allowing more da...

2010-11-12 16:06:00 78

TCP/IP 详解 卷1 ch19 TCP Interactive Data Flow

1. Rlogin, 每次发送一个字节, 如下图所示2. 在广域网中,使用Nagle算法来减少Tinygram

2010-11-12 15:40:00 58

MyEclipse看不见SVN图标

接上一篇日志,成功导入项目后,项目的SVN图标在MyEclipse中却不显示(我是装好了SVN的,而且从SVN上拉项目是显示SVN图标的),检查windows ->preferences->General->Appearance->Lable Decorations选项中SVN是勾选过的,恢复默认也不行。关闭首选项设置窗口,试了下在项目上点右键,...

2010-11-12 00:27:00 61

MyEclipse导入现有项目

今天从SVN上拉下来项目代码准备导入,但试了File---import---Existing Projects into Workspace却不好使,找不到我拉的项目。我将项目拷贝到workspace下,选择File---Switch Workspace,选择当前的workspace(相当于重启MyEclipse吧),MyEclipse自动重启后再试Fi...

2010-11-12 00:09:00 56

TCP/IP 详解 卷1 ch18 TCP Connection Establishment and Termination

1. 建立一个连接,3次握手,如下图(telnet newsmth.net)1) 客户端发送一个SYN报文,指明服务器端口,初始序号(ISN)2) 服务器发回包含服务器的初始序号的SYN报文作为应答。同时将确认序号设置为客户的ISN+1以对客户端的SYN报文进行确认3) 客户端必须将确认序号设置为服务器的ISN+1以对服务器的SYN报文进行确认TCP连接全双工...

2010-11-11 22:01:00 92

TCP/IP 详解 卷1 ch17 TCP: Transmission Control Protocol

1. TCP provides a connection-oriented, reliable, byte stream service.2. TCP lacks selective acknowledgments because the acknowledgment number in the TCP header means that the sender has successful...

2010-11-11 20:17:00 59

TCP/IP 详解 卷1 ch16 BOOTP: Bootstrap Protocol

TBW

2010-11-11 16:57:00 61

TCP/IP 详解 卷1 ch14 DNS: The Domain Name System

1. Applications contact resolvers to convert a hostname to an IP address, and vice versa. Resolvers then contact a local nameserver, and this server may contact one of the root servers or other serv...

2010-11-11 16:22:00 94

TCP/IP 详解 卷1 ch13 IGMP: Internet Group Management Protocol

1. IGMP报文An IGMP type of 1 is a query sent by a multicast router, and 2 is a response sent by a host. The group address is a class D IP address. In a query the group address is set to 0, and in a re...

2010-11-10 21:51:00 71

TCP/IP 详解 卷1 ch12 Broadcasting and Multicasting

1. 广播1) 255.255.255.255 - Limited Broadcast2) 网络号+主机号(全1) - Net-directed Broadcast3) 网络号+主机号(全1),并且有特定的子网号 - Subnet-directed Broadcast 4) 网络号+子网号&主机号(全1)All-subnets-directed Broadcast...

2010-11-10 21:18:00 134

wget URL is forbidden, 403 error

refer to http://www.linuxquestions.org/questions/linux-software-2/wget-error-403-can-i-get-around-this-606755/solution 1:wget -U firefox http://xxx.xxx.com/solution 2:1) using firefox ...

2010-11-10 20:40:00 636

关于Android中传递数据的一些讨论

本文为原创,如需转载,请注明作者和出处,谢谢! 在Android中编写过程序的开发人员都知道。在Activity、Service等组件之间传递数据(尤其是复杂类型的数据)很不方便。一般可以使用Intent来传递可序列化或简单类型的数据。看下面的代码。Intentintent=newIntent(this,Test.class);intent.putExtra("param1","da...

2010-11-10 08:54:00 47

关于Android中传递数据的一些讨论

本文为原创,如需转载,请注明作者和出处,谢谢! 在Android中编写过程序的开发人员都知道。在Activity、Service等组件之间传递数据(尤其是复杂类型的数据)很不方便。一般可以使用Intent来传递可序列化或简单类型的数据。看下面的代码。Intentintent=newIntent(t...

2010-11-10 08:49:00 51

TCP/IP 详解 卷1 ch11 User Datagram Protocol

1. UDP provides no reliability2. The application needs to worry about the size of the resulting IP datagram. If it exceeds the network's MTU, the IP datagram is fragmented.3. The TCP port numb...

2010-11-09 21:45:00 100

TCP/IP 详解 卷1 ch10 Dynamic Routing Protocols

1. RIP (Routing Information Protocol) - a distance-vector protocoluse UDP, port is 520, the metric is hop counts (The hop count for all directly connected interfaces is 1, max value is 15). 2. p...

2010-11-09 20:39:00 82

Android 1.5 1.6 2.0 2.1 2.2的区别

Android 1.5 API变更概要:UI framework· Framework for easier background/UI thread interaction· 新SlidingDrawer 组件· 新HorizontalScrollview 组件AppWidget framework· 一些关于创建桌面AppWidget 的API. · 提供根据自定义的内容创建LiveFolde...

2010-11-09 10:02:00 56

TCP/IP 详解 卷1 ch9 IP Routing

1. For the host which is not configured as router, datagrams received through the network interfaces that are not ours are dropped.2. the steps that IP performs when it searches its routing table....

2010-11-08 22:34:00 89

TCP/IP 详解 卷1 ch8 Traceroute

>> traceroute 135.252.34.158traceroute to 135.252.34.158 (135.252.34.158), 30 hops max, 40 byte packets 1 135.252.129.1 (135.252.129.1) 0.202 ms 0.205 ms 0.227 ms 2 135.242.64.149 (13...

2010-11-05 20:43:00 102

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除