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 : "220.127.116.11" 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?
Servlet returning remote address in IPv6 not IPv4
XML - XSD Validation
Validating IPv6 url using regex
byte for IP address storage????
HttpServletRequest getRemoteAddr() has strange results
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015