A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
There is any java API to to validate IP6 and IP4 Address?
Joined: Dec 22, 2002
Feb 25, 2011 20:04:48
I have 2 type (IP4 and IP6) Address data,which are
IP4 : "22.214.171.124" format
IP6: "1080:0:0:0:8:800:200C:417A" format.
I wonder if there is any
API to validate them? so I don't have to write a code to it using StringTokenize.
Stephan van Hulst
Joined: Sep 20, 2010
Feb 25, 2011 20:11:07
Take a look at the
class, in java.net.*.
I agree. Here's the link:
subject: There is any java API to to validate IP6 and IP4 Address?
XML - XSD Validation
byte for IP address storage????
HttpServletRequest getRemoteAddr() has strange results
Servlet returning remote address in IPv6 not IPv4
Validating IPv6 url using regex
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014