JDUN provides a Java dial-up networking (DUN) interface for use with Windows operating systems. Microsoft remote access services (RAS) can be accessed such as enumerating DUN phonebook entries, dialing connections, and hanging up connections.
You can now add dial-up capabilities to your Java application with ease. JDUN also allows any type of connection provided through Windows Dial-up Networking. This includes modem, VPN, broadband, serial, parallel, and other connections.
JDUN provides the following functionality:
- Create entry (dial-up, VPN, etc)
- Edit entry
- Delete entry
- Rename entry
- Get all entry names
- Dial entry with defaults or override username / password / phone number
- Dial non-entry (simple modem connection)
- Hang up connection
- Detect entry connection
- Detect internet connection
- Retrieve local IP and remote server IP from a PPP dial-up connection allowing the establishment of a socket connection
Only a few lines of code are needed to dial an entry with JDUN, as shown below.
DialUpManager dialUp = new DialUpManager();
// dials the entry "My Connection"
dialUp.dialEntrySynchronous("My Connection");
Full documentation and example code provide everything needed to integrate this Java API. JDUN has been rigorously tested and is being used by many Fortune 500 companies.
Operating System Support: Windows 98, Me, NT4, 2000, XP, and Vista
JRE Support: 1.3, 1.4, 1.5, and 1.6