Found a fix:
import java.net.*;
import java.io.*;
public class Foo{
public static void main (String[] args){
try {
Type: Posts; User: Jonathan_C
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...