Re: Q. Making a DUN connection with Indy

Giganews Newsgroups
Subject: Re: Q. Making a DUN connection with Indy
Posted by:  Remy Lebeau (TeamB) (gambit…@yahoo.com)
Date: Sun, 31 Aug 2003

"Alan McFarlane" <mcfarlane_al…@lycos.co.uk> wrote in message
news:90B21DB40E7DE240mcfarlane_al…@lycos.co.uk...
> Is it possible to make a DUN connection with Indy or is
> this more a Windows question?

Windows.  Indy has no concept of DUN vs. LAN.  It deals with actual sockets,
which are connection-independant.

> I now would like to able to open a DUN connection, perform some
> tasks and close the connection all under software control with no
> user intervention or displaying of the usual DUN dialogs.

Look at the Win32 API functions RasDial() and RasHangup().

Gambit

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system http://www.grisoft.com).
Version: 6.0.512 / Virus Database: 309 - Release Date: 8/19/03

Replies

None

In response to

Q. Making a DUN connection with Indy posted by Alan McFarlane on Sun, 31 Aug 2003