Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

IP Addresses Stored in Java?

843793Feb 25 2003 — edited Feb 25 2003
Hi there,

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.

Always appreciated
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 25 2003
Added on Feb 25 2003
1 comment
555 views