Results 1 to 11 of 11
Thread: set IP address
- 05-29-2010, 11:29 PM #1
Member
- Join Date
- May 2010
- Posts
- 8
- Rep Power
- 0
- 05-29-2010, 11:53 PM #2
Senior Member
- Join Date
- Mar 2010
- Posts
- 953
- Rep Power
- 4
You're implementing RFC 2131? What have you tried so far?
-Gary-
- 05-30-2010, 12:50 AM #3
Do you get any error messages?i canīt set the new IP address
What classes and methods are you using?
- 05-30-2010, 12:59 AM #4
Member
- Join Date
- May 2010
- Posts
- 8
- Rep Power
- 0
hi, thanks for your answer
yes, i already read the RFC 2131, and the application do all the steps (discovery, offer, request, ...), but iīm programing both, server and client, so my client get all the serverīs packets and the server get all the clientīs packets.
itīs the all application, so i need to assign the ip
- 05-30-2010, 01:01 AM #5
Member
- Join Date
- May 2010
- Posts
- 8
- Rep Power
- 0
hi Norm
"Do you get any error messages?
What classes and methods are you using?"
i donīt have any error, i have not found a method for set the ip in a computer
- 05-30-2010, 01:17 AM #6
Senior Member
- Join Date
- Mar 2010
- Posts
- 953
- Rep Power
- 4
- 05-30-2010, 01:48 AM #7
Member
- Join Date
- May 2010
- Posts
- 8
- Rep Power
- 0
- 05-30-2010, 02:02 AM #8
Senior Member
- Join Date
- Mar 2010
- Posts
- 953
- Rep Power
- 4
- 05-30-2010, 02:19 AM #9
Member
- Join Date
- May 2010
- Posts
- 8
- Rep Power
- 0
- 05-30-2010, 02:25 AM #10
Senior Member
- Join Date
- Mar 2010
- Posts
- 953
- Rep Power
- 4
Basically, yes. Either that, or write C code and Java Native Interface for each host type you would want to run this on. Java is not really a systems-level language -- it's application-level. Java tries to be platform-neutral, which means it can't get very involved in things that are platform-specific. It's also a privileged operation -- you'd need to be an Administrator to change your machine's IP address under most operating systems.
-Gary-
- 05-30-2010, 02:37 AM #11
Member
- Join Date
- May 2010
- Posts
- 8
- Rep Power
- 0
Similar Threads
-
ip address of all clients
By guneet singh in forum NetworkingReplies: 4Last Post: 03-01-2009, 02:01 PM -
Looking Up the Address of a Host
By Java Tip in forum java.netReplies: 0Last Post: 04-07-2008, 08:11 PM -
How to get IP Address of the client
By Java Tip in forum java.netReplies: 0Last Post: 04-05-2008, 10:14 AM -
JSP getting IP address
By Java Tip in forum Java TipReplies: 0Last Post: 01-29-2008, 09:05 AM -
Getting host name/address
By Java Tip in forum Java TipReplies: 0Last Post: 11-19-2007, 04:34 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks