Solved

dialing to a modem to connect to a wesite

Posted on 2004-08-03
6
828 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
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 …

760 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

22 Experts available now in Live!

Get 1:1 Help Now