Solved

dialing to a modem to connect to a wesite

Posted on 2004-08-03
6
829 Views
Last Modified: 2008-02-01
Hi ,
I am writing a Java application(client) which dials up using the modem and connects to a specified web-site. I guess I should be using Serial Port used in javax.comm. But how do I pass the destination ip address and port number ? There is no example I could find after looking for it for the past one hour.

It would be really helpful to get a working example for this.  

Thanks.
0
Comment
Question by:roshan_vijayshankar
6 Comments
 
LVL 1

Accepted Solution

by:
wolfc earned 168 total points
ID: 11709941
Try looking for a Java PPP implementation.

For example: http://www.jopdesign.com/ejip/

I haven't tried it, but I'm very curious if it works.
0
 
LVL 92

Assisted Solution

by:objects
objects earned 166 total points
ID: 11710447
If the OS is setup to auto dial then it could handle it for you.
0
 
LVL 35

Assisted Solution

by:girionis
girionis earned 166 total points
ID: 11712832
That's what you need: http://www.javaapis.com/jdun/ (but it's not free). It uses native calls so it only works with windows. AFAIK you can't do it in pure Java, so you will have to use the os' capabilities to achieve dial-up.
0
 
LVL 1

Expert Comment

by:jmeree
ID: 11815457
We created a dialup connection and then ran the Networking Wizard to make it the default connection.  When the application tries to open a socket connection, Windows will automatically dial the modem.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now