Solved

dialing to a modem to connect to a wesite

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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to parse custom JSON to POJO java 4 74
Java - Why doesn't this JFrame work 3 59
use lov values 2 50
Java: The Public Class Main 4 17
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…
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…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

809 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