Thanks
That worked perfectly!
Type: Posts; User: Jonathan_C
Thanks
That worked perfectly!
import java.net.*;
import java.io.*;
public class Foo{
public static void main (String[] args)
{
try {
InetAddress thisIp = InetAddress.getLocalHost();
String[] result =...
Found a fix:
import java.net.*;
import java.io.*;
public class Foo{
public static void main (String[] args){
try {
I'm wanting to remove the last digits of an IP after the final period, i.e.
192.168.1.2
would be made to: 192.168.1
similarly 192.168.1.22 would be: 192.168.1
I'm getting the IP using the...
That's why i was wondering :)
So i could simply use a loop to go through each ip?
so say the range started at 192.168.1.2
i could just increment the last digit? And if a server is found, it...
I've been pondering this for a while, and so i decided to join these forums to see if one of you could possibly point me in the right direction;
I'm wondering whether it's possible to search the...