This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
I'm trying to disable and enable the network connection in my java application, i searched a lot how to do it as I'm a beginner but i didn't find a direct implementation in java to do it, i found the best approach is executing the below command:
netsh interface set interface <interface name> disable
but how to get the interface name for a given IP Address?
serouja louba wrote:Hello JavaRanch, any updates on this topic pleaseeeee!
What update do you need? Your last post showed that it worked for you too. Your interface name is "eth3".
[EDIT] Oh I see... Windows.... .... You need the form that is used by "netsh". Well. one option is to get it from "netsh" via a show interface command. Of course, this will mean that you will need to do an another exec().
hai, iam new to this forum and i need a suggerstion.
I have to connect to remote server which is using ssh2 protocol using java application. I am new to java. I have referred the ch.ethz.ssh2.* api but couldnot get any sample examples. Can some one guide in this please.. its dam urgent for me.
Sorry if i posting this toa wrong category.