Question regarding TDI driver

Hi,

I have a NT TDI driver and would like to open/close a socket when there
is a change in DEFAULT GATEWAY (changed via Network Control Panel) of a
network adapter.

Is there a way to register for a notification when there is a change in
any of a Network adapter parameters like IP Address, Default Gateway,
etc.

thanks.
-atul

on NT i am not sure, but on 2K you have ClientPnPAddNetAddress and
ClientPnPDelNetAddress

-Srin.

-----Original Message-----
From: xxxxx@vertical.com [mailto:xxxxx@vertical.com]
Sent: Tuesday, February 18, 2003 11:33 AM
To: NT Developers Interest List
Subject: [ntdev] Question regarding TDI driver

Hi,

I have a NT TDI driver and would like to open/close a socket when there
is a change in DEFAULT GATEWAY (changed via Network Control Panel) of a
network adapter.

Is there a way to register for a notification when there is a change in
any of a Network adapter parameters like IP Address, Default Gateway,
etc.

thanks.
-atul


You are currently subscribed to ntdev as: xxxxx@nai.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

I am doing this on WinNT 4.0.
Actually i found that we can use TdiRegisterAddressChangeHandler() and
TdiDeRegisterAddressChangeHandler(). These functions are not defined in
the NT DDK, but are a part of the “tdikrnl.h” header file.

thanks
-atul

There is a SDK function GetIpForwardTable

xxxxx@vertical.com wrote:

Hi,

I have a NT TDI driver and would like to open/close a socket when there
is a change in DEFAULT GATEWAY (changed via Network Control Panel) of a
network adapter.

Is there a way to register for a notification when there is a change in
any of a Network adapter parameters like IP Address, Default Gateway,
etc.

thanks.
-atul


You are currently subscribed to ntdev as: xxxxx@okena.com
To unsubscribe send a blank email to xxxxx@lists.osr.com