Solved

dialing to a modem to connect to a wesite

Posted on 2004-08-03
6
835 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
V.simple question about Android packages and libraries 1 37
web application structure 18 112
how to see all occupied ports on windows 10 laptop 15 83
learn programming 8 68
INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

749 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