dialing simultaneously

Apr 27, 2010 at 1:49 PM


Is it possible to dial two (or more) connections simultaneously using DialAsync() ?

I guess i would have to change the dialer's EntryName property and then call DialAsync() again, but how can i determine which connection raised the DialCompleted and StateChanged events ?

Has anyone already done something like that ?



Apr 27, 2010 at 2:56 PM

The RasDialer component can only handle dialing one connection at a time. If you need to dial multiple entries simultaneously (if Windows can even handle doing that) you'll need to use multiple instances of RasDialer. Once a dialing operation has started for the component, it will not allow you to start another until the previous attempt has completed.