截获数据报服务器端如何设置------菜鸟一问(100分)

  • 主题发起人 主题发起人 张校风
  • 开始时间 开始时间

张校风

Unregistered / Unconfirmed
GUEST, unregistred user!
小可在看demo中Intrcpt范例时见有下面这段话:
4) On the Server: Bring up the properties for the Socket Server (right clickon
the icon in the task bar and select properties) and put the GUID for Intrcpt.DLL
in the Interceptor GUID edit control. The GUID is defined below as
Class_DataCompressor.
英文水平有限,看不懂,那位高人指点一二,在下感激不尽!
 
这是完整的
Midas Socket Server Intercepor
{
NOTE: This Intercepor requires the ZLib units found in the extras directory
on the CD.

The Socket Server has the ability to install an interception COM object that
can be called whenever it receives or sends data. Using this feature, you
can encrypt or compress data using any method you wish. This Intercepor uses
the ZLib compression units that ship on the CD to compress/uncompress all
data going over the wire.

To use this demo;
1) Make sure you have copied the ZLib units from the CD to a directory and
have added that directory to this projects search path.
2) Compile Intrcpt.dpr.
3) Register Intrcpt.DLL using REGSVR32 or TREGSVR on both the client and the
server.
4) On the Server: Bring up the properties for the Socket Server (right click
on the icon in the task bar and select properties) and put the GUID for
Intrcpt.DLL in the Interceptor GUID edit control. The GUID is defined
below as Class_DataCompressor.
5) On the Client: Set the TSocketConnection.InterceptorGUID property to the
Class_DataCompressor GUID and recompile your client.
}
 
已经搞定了
 

我想结这个帖子,谁进来就给分!

 
进来就给分
 
让版主帮忙把你的分数收回来吧。
别浪费了。
 
后退
顶部