读一读Scktsrvr.exe的源程序 使用DELPHI做多层开发的朋友们都应该对Scktsrvr.exe这个程序不陌生的,Borland公司在DELPHI中给出了它的源代码。这是一个900来行的程序,程序不算长,现在我只选其中部分仔细读一读。走的线路大致是,从服务器接到客户端连接,处理客户端的一个 Read More
posted @ 2016-04-01 20:09
findumars
Views(951)
Comments(0)
Diggs(0)
http://blog.csdn.net/shuaihj/article/details/6371904 Read More
posted @ 2016-04-01 20:06
findumars
Views(556)
Comments(0)
Diggs(0)
http://blog.csdn.net/shuaihj/article/details/6129506 Read More
posted @ 2016-04-01 20:03
findumars
Views(302)
Comments(0)
Diggs(0)
http://blog.csdn.net/shuaihj/article/details/6770779 Read More
posted @ 2016-04-01 19:53
findumars
Views(6249)
Comments(0)
Diggs(0)
(1)所有数据都应该隐藏在所在的类的内部。 (2)类的使用者必须依赖类的共有接口,但类不能依赖它的使用者。 (3)尽量减少类的协议中的消息。 (4)实现所有类都理解的最基本公有接口[例如,拷贝操作(深拷贝和浅拷贝)、相等性判断、正确输出内容、从ASCII描述解析等等]。 (5)不要把实现细节(例如放 Read More
posted @ 2016-04-01 19:52
findumars
Views(450)
Comments(0)
Diggs(0)

浙公网安备 33010602011771号