Solved

How to detect an internet communication and its settings

Posted on 2004-04-16
5
186 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
web application structure 18 100
servlet web applications   metadata-complete="true" or false 3 109
hibernate jars 4 45
JAVA API design with micro service cloud in mind 1 45
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…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
This video teaches viewers about errors in exception handling.
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 …

839 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