> No the ISDN modem does not use D.U.N.
> I am not entirly sure what thos go is. I have an ISDN modem, a network
hub,
> and a Cisco I think it might be a router, but not sure.
> Anyway, I entered an IP address for my machine, and a gateway to the Cisco
> unit, and then when I try to navigate, it dials, but I did not setup any
> D.U.N for it....otherwise I would have used your suggestion.

welcome to the world of dial-on-demand. 99% of decient routers will do this
on an ISDN connection :)

> I thought of doing a PING to our main webserver to see if it was
connected,
> but obvcourse this would make the ISDN modem dial.

exactly.

> I have some code to find the IP address assigned to my machine when I am
> connected t the net, maybe I could check the result to see if I get an IP
> address returned...AAny other Ideas ??

Try looking at the SNMP (Simple Network Management Protocol - NOT SMTP!!! it
has nothing to do with mail!) interface on the Cisco (assuming its plugged
into the ISDN modem), or on the modem if it has a network interface. That
should tell if you its up or not. If you have a [u|li]nux box around, there
are SNMP tools around, if you are on windows, well, there is an RFC for SNMP
somewhere, and the components in Indy may support it.....

Infact: <fires up delphi 6> it does not out of the box, but its fairly
simple and based on UDP AFAIK. You will need to hit either the modem maker
or cisco for the MIB (Management Info Block - IDL for SNMP) for the device
tho.

N

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"

Reply via email to