文章分类 -  network program

notes articles about network programming
Security in C# Network Programming
摘要:C#网络编程之安全相关 C#网络编程安全相关有三个层面内容:一是应用程序安全(Application Security)层面,一是套接字权限(Socket Permission)层面,一是数据传输(Data Transfer)层面。 (一)应用程序安全层面 DotNet CLR为运行在其上的应用程序提供了很多安全特性,利用这些特性,可以控制谁可以,谁不可以在其上运行应用程序。在应用程序安全... 阅读全文

posted @ 2004-07-12 21:50 星星之火 阅读(896) 评论(0) 推荐(0)

DotNet Remoting (二)
摘要:Using DotNet Remoting(一个例子) There are three separate programs that must be created to build an application that uses remoting: · A remote class that allows clients to access and use the meth... 阅读全文

posted @ 2004-07-10 00:46 星星之火 阅读(1188) 评论(0) 推荐(0)

DotNet Remoting (一)
摘要:DotNet Remoting (一) Remoting的功能 同Web Service的概念类似,Remoting可以使网络上的计算机之间共享类的数据和方法。通过Remoting,客户端可以调用服务端的类的方法,而不需要服务端运行IIS服务器。 Remoting的简单原理 1) 服务端有一个类 2)服务端为此类开通一个Remoting的服务 3)客户端想调用服务端此类的方法,首先建立一... 阅读全文

posted @ 2004-07-09 00:11 星星之火 阅读(795) 评论(0) 推荐(1)

Basic Web Service Concepts and a Simple Application
摘要:概述 Web Service不是Dot Net中才有的新技术,Dot Net框架简化了Web Service的应用。Web Service允许Web Server发布特定的方法服务,这些服务可以由客户端远程调用。这是一种分布计算的方法。Web Service应用SOAP (Simple Object Access Protocol,简单对象访问协议)协议来传输数据。SOAP把数据格式化为XML格式... 阅读全文

posted @ 2004-07-05 23:36 星星之火 阅读(419) 评论(0) 推荐(0)

HTTP and its Applications
摘要:HTTP(Hyper Text Transfer Protocol, 超文本传输协议)无疑是互联网上应用最广泛的。在微软的Dot Net框架中,提供了很多辅助类来进行HTTP编程。 1 WebClient(Basic Web Classes) WebClient可以简化Web编程,它的成员函数DownloadData, DownloadFile, OpenRead用来完成从Web Serv... 阅读全文

posted @ 2004-07-05 20:41 星星之火 阅读(440) 评论(0) 推荐(0)

SMTP and it’s Applications
摘要:e-mail model: 几乎所有的互联网邮件系统应用Unix E-Mail模型。Unix E-Mail模型把E-Mail功能分成三部分: MTA(Message Transfer Agent),负责发送和接收邮件。 MDA(Message Delivery Agent),负责向本地系统的邮件用户分派邮件。 MUA(Message User Agent),负责从远程访问邮箱服务器。 相关协议... 阅读全文

posted @ 2004-07-01 23:27 星星之火 阅读(523) 评论(0) 推荐(0)

SNMP and it's Applications
摘要:MIBThe principle behind SNMP is simple. Each network device maintains a database of network statistics that can be queried from a remote device. The core database is called the Management Information ... 阅读全文

posted @ 2004-06-30 20:01 星星之火 阅读(374) 评论(0) 推荐(0)

ICMP and it’s Applications
摘要:图1.Ip Header 和Icmp Header图2.ICMP Subnet Request packet format ICMP Packet Similar to TCP and UDP, ICMP uses a specific packet format to identify information in the packet. As seen in Figure 1, the IC... 阅读全文

posted @ 2004-06-27 23:38 星星之火 阅读(1124) 评论(0) 推荐(0)

组播技术概述
摘要:内容摘要:本文比较了单播、广播、组播三种通信方式,着重简介了组播技术的各个组成部分,及组播技术的应用。 关键字:组播,IGMP 一.引言 近年来,随着Internet的迅速普及和发展,在Internet上产生了许多新的应用,其中不少是高带宽的多媒体应用,譬如网络视频会议、网络音频/视频广播、股市行情发布、多媒体远程教育。由于多媒体信息量一般很大,这就带来了带宽的急剧消耗和网络拥挤问题。针对... 阅读全文

posted @ 2004-06-25 21:35 星星之火 阅读(1397) 评论(0) 推荐(0)

用异步方式解析域名
摘要:(原载csdn) C# NetWork Programming里面一个例子,通过异步的方式解析域名。主要是应用Dns类的BeginResolve(),和EndResolve()方法。此例子有一个问题就是当碰到解析不出来的域名时,不会调用AsyncCallback指定的函数。我加了几句代码,设定2秒钟超时时间,超时的话,显示超时。现在的问题是,超时后并没有结束域名的解析。超过2秒钟解析出的域名还会... 阅读全文

posted @ 2004-06-21 16:37 星星之火 阅读(473) 评论(0) 推荐(0)

导航