Results 1 to 3 of 3
  1. #1
    Takeya is offline Member
    Join Date
    Dec 2011
    Posts
    1
    Rep Power
    0

    Default 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.

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,902
    Rep Power
    25

    Default 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?

  3. #3
    quad64bit's Avatar
    quad64bit is offline Moderator
    Join Date
    Jul 2009
    Location
    VA
    Posts
    1,323
    Rep Power
    7

    Default 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?

Similar Threads

  1. Networking with java
    By munny in forum Networking
    Replies: 8
    Last Post: 11-20-2011, 05:30 AM
  2. New to networking in java...
    By jigglywiggly in forum New To Java
    Replies: 4
    Last Post: 05-25-2010, 09:10 AM
  3. Help neede with simple Networking program
    By louwhopley in forum New To Java
    Replies: 7
    Last Post: 08-04-2009, 11:01 PM
  4. Networking in Java
    By thangavel14 in forum Networking
    Replies: 3
    Last Post: 07-30-2009, 02:47 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •