I am writing a distributed application and was just wondering if anyone knows the data type Java recognises IP addresses as.
For example, does java recognise the ip address 192.168.0.1 as a string, long, float etc. or does the URL class define a special data type for IP addresses. If so - how is it declared?
I am wanting to store Ip addresses in some sort of list or array from different clients and then be able to use stored ip addresses at a later point from within the program.