摘要:
http.cs
----------------------------
using system;
using system.collections;
using system.io;
using system.net;
using system.net.sockets;
using system.threading;
class httpprocessor {......
摘要:
i use winsock control sp5(vb6)
public class frmmain
inherits system.windows.forms.form
#region " windows 窗体设计器生成的代码 "
public sub new()
mybase.new()
该调用是 windows 窗体设计器所必需的。
i......
一个server基类(使用例程)
下面举个简单的例子来说明怎么使用这个基类.下面这个server实现的功能很简单,通过实现基类的docommunication抽象方法来实现监听8000端口,如果有客户端连接,就发送一条信息.为了说明stop的用法,我另起了一个线程在30秒后自动关闭这个server.你可以把程序编译后运行,然后通过ie来访问看一下实现的功能....
下一页 摘要:
using system;
using system.text;
using system.io;
using system.net;
using system.net.sockets;
namespace blood.com.classlib
{
/// <summary>
/// tcpclient派生类,用来进行smtp服务器的连接工作
/// <......