Hi All
I wrote an app to use at work on a standalone w98 pc. The app allows multiple users individual access to internet via a single user ISP (using the ISP's DUN application). My app logs all internet usage, and reports can be printed.
Long have I searched for code to disconnect when my app is closed, but no success. The RAS way didn't work, and closing ports seemed too difficult.
Al last while looking at processes using Process Viewer, I had a !! idea! Just use kill to close rnaapp.exe and tapisrv.exe and you will have disconnected!
Hope this helps all those with same problem.