Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

How to detect an internet communication and its settings

Posted on 2004-04-16
5
Medium Priority
?
191 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 1000 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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

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…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

636 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