I'm writing an application that opens a dialup connection. I've found a curious thing -- if my application dies after I've called for the connection but before it completes, the modem seems to get "stuck" in a state where I can't do anything about it. In Network Connections (this is WindowsXP Pro SP2) it says "Connecting". But I can't find any way to close it or make it stop connecting. If I can't do that even manually (except to completely reboot), i don't know how I'll control it in software.
Any ideas? What IS the state it's stuck in? I guess there's a port assignment that blocks any action to change it.
Any ideas? What IS the state it's stuck in? I guess there's a port assignment that blocks any action to change it.