Solved

dialing to a modem to connect to a wesite

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

The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

Question has a verified solution.

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

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…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

717 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