Solved

How to detect an internet communication and its settings

Posted on 2004-04-16
5
188 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
[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
  • 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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
This video teaches viewers about errors in exception handling.

687 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