RAS: how to detect a dialup connection attempt as soon as it starts dialing

I need help for a project I'm working on.

I need to **detect when a dialup connection attempt starts**, as soon as possible, before it gets connected, and **the number being dialled**

I tried with a few methods using RAS API, but on windows 2000/XP I'm able to detect a connection attempt *only after* RAS has successfully connected.

I used RasEnumConnections, and I also tried with a loop on all possible ras connection handles:

for (unsigned int count = 0x00000000; count <= 0xFFFFFFFF; ++count)


hRasConn = (HRASCONN) count;

// Get connection info

if (RasGetConnectStatus (hRasConn, &rasConnStatus) == 0)





The result is always the same, the connection is detected only once it is connected.

Does anybody know a method to achieve such goal?

I need it as soon as possible.

If you have a solution, a demo application which proves it works is welcome.



## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Deliverables must be in ready-to-run condition, as follows? (depending on the nature? of the deliverables):

a)? For web sites or? other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.

b) For all others including desktop software or software the buyer intends to distribute: A software? installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.

3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).

## Platform

All windows version

Compétences : Programmation C, Ingénierie, Microsoft, MySQL, PHP, Architecture Logicielle, Tests de Logiciels, Bureau Windows

en voir plus : dialing attempt, the hire connection, programming loop, loop programming, how to solution, how to programming, how to it work, how to code php, how to code, how to be coder, how programming works, how does programming work, does it works work, get a get coder, it works, HOW TO PLACE A BID, how to get project, dialup, API connection, detect php

Concernant l'employeur :
( 11 commentaires ) Chrzanow, Poland

Nº du projet : #3369688

Décerné à:


See private message.

%selectedBids___i_sum_sub_7% %project_currencyDetails_sign_sub_8% USD en 5 jours
(15 Commentaires)

5 freelance font une offre moyenne de $48 pour ce travail


See private message.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 5 jours
(15 Commentaires)

See private message.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 5 jours
(4 Commentaires)

See private message.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 5 jours
(2 Commentaires)

See private message.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 5 jours
(0 Commentaires)