qsc
qsc
驱动牛犊
驱动牛犊
  • 注册日期2001-03-23
  • 最后登录2010-12-24
  • 粉丝0
  • 关注0
  • 积分20分
  • 威望2点
  • 贡献值0点
  • 好评度2点
  • 原创分0分
  • 专家分0分
阅读:1990回复:2

IM怎样同时适用于拨号网络

楼主#
更多 发布于:2001-08-14 20:05
Passthru加上什么能支持WAN??

最新喜欢:

fsbfsb
jetnet
游客
游客
沙发#
发布于:2001-08-16 15:28
你必须再做一个支持WAN的miniport!
Fang
驱动牛犊
驱动牛犊
  • 注册日期2001-06-12
  • 最后登录2010-08-10
  • 粉丝0
  • 关注0
  • 积分2分
  • 威望13点
  • 贡献值0点
  • 好评度2点
  • 原创分0分
  • 专家分0分
板凳#
发布于:2001-08-16 17:04
要是想过滤呢,就看这里:
http://pcausa.com/resources/im_ras2.htm


How to make an IM driver that works with NDISWAN over TCP/IP
Written 5-17-1999 by Scott Meeuwsen  
Below you will find changes you can make to a working Ethernet IM driver that will allow it to function with NDISWAN adapters over TCP/IP.  I found it extremely difficult to figure this out so I hope you find this information beneficial.  If you are using the newest IMSAMP, it already works with NDISWAN if you follow step #6 below.   If not, you can find Jim Mateer's newest version of his excellent IM driver sample at <ftp://ftp.pcausa.net/devonly/imdrv/imdrv.zip>.

Here are the steps to follow:

1. Get NDISWAN to bind to your transport.  Put something like this in your NetRules for your transport: MyIMTransport ndisWanAdapterDialOutIP non non 100

2. Prefix your corresponding IM adapter name with NdisWan so that you bind correctly to RasArp  (e.g. NdisWanMyIMAdapter3)

3. Disable the binding of the real NDISWAN adapter from TCP/IP

4. Set the packet filter of the real NDISWAN adapter to forward BROADCAST and DIRECTED packets (do this in your ProtocolBindAdapter routine)

5. Report that your corresponding virtual IM adapter has a medium type of NdisMedium802_3 from MiniportInitialize (do not report NdisMediumWan)

6. Make sure the phone book entry you are using to dial has "IP header compression" disabled  (Haven't figured out why this is necessary yet)

7. Other than these changes, pretend that you are coding an IM for an Ethernet adapter and you should be fine.

Questions/Comments/Bugs/Etc. - <scottm@highlevel.com>

游客

返回顶部