Need some help with Java Networking Program
Hello everyone,
I am having trouble writing a networking program using java. Here is the basic setting up of the question.
There are two boxes.
Box 1 has the java app on it, and has an internal IP address (ie. 192.168.1.x).
Box 2 has two IP addresses:
Address 1: shares the same internal address of box 1 (192.168.1.x)
Address 2: routable IP address such as 9.26.69.x.
The program on box 1 needs be able to connect to box 2, and change network setting of box 2 (address 2, mask, gateway, etc)
I am really stuck with this problem, so hopefully someone can help me out.
Thanks in advance.
Re: Need some help with Java Networking Program
The first phase of writing a network program in Java would use the localhost IP address to make sure the classes and methods work as desired. Have you done that step yet?
Re: Need some help with Java Networking Program
Also, when you say change the network settings on box two, do you mean change settings in a java app or on the host OS?