Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 194
  • Last Modified:

How to detect an internet communication and its settings

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
paredes_mynor
Asked:
paredes_mynor
  • 3
  • 2
1 Solution
 
Tommy BraasCommented:
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
 
paredes_mynorAuthor Commented:
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
 
Tommy BraasCommented:
Then you're only option is to use native code (C/C++) via JNI. There are no such provisions available in Java.
0
 
paredes_mynorAuthor Commented:
Thanks orangehead.  I'll go that way then.
0
 
Tommy BraasCommented:
Good luck! =-)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

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

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now