Solved

How to detect an internet communication and its settings

Posted on 2004-04-16
5
184 Views
Last Modified: 2010-05-18
Hello.  

I need to create a comm initiator between any pc and a specific server.  I know I need both modules on the server and any pc, but first, I think I must detect any modem or nic TCP/IP settings in the pc to start making it.  Could you please help me in the process of getting both modules running.  If you have any link, it will be really appreciated.  

Thanks in advance for your support.

Mynor.
0
Comment
Question by:paredes_mynor
  • 3
  • 2
5 Comments
 
LVL 14

Expert Comment

by:Tommy Braas
ID: 10844387
All you need to do is try to open the type of connection you need, if the connection fails, you don't have an internet connection. You don't need to detect any settings per se.
0
 

Author Comment

by:paredes_mynor
ID: 10844465
Ok, thank you.  Could you please tell me which directives to use for that purpose?

But let's say, you already have a modem or a nic, but you don't have the internet connection already configured.  My goal is to configure that profile and create a protocol for that purpose.

Thanks.
0
 
LVL 14

Accepted Solution

by:
Tommy Braas earned 250 total points
ID: 10844575
Then you're only option is to use native code (C/C++) via JNI. There are no such provisions available in Java.
0
 

Author Comment

by:paredes_mynor
ID: 10844818
Thanks orangehead.  I'll go that way then.
0
 
LVL 14

Expert Comment

by:Tommy Braas
ID: 10844834
Good luck! =-)
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

Suggested Solutions

Title # Comments Views Activity
powerN  challenge 3 49
pairstar challenge 2 42
Free Alternative to JIRA 4 58
Unexpected HttpURLConnection connection behavior 2 52
For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
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 …

746 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

16 Experts available now in Live!

Get 1:1 Help Now