A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Android Security Essentials Live Lessons
this week in the
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 : "126.96.36.199" 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.*.
subject: There is any java API to to validate IP6 and IP4 Address?
Validating IPv6 url using regex
Servlet returning remote address in IPv6 not IPv4
HttpServletRequest getRemoteAddr() has strange results
byte for IP address storage????
XML - XSD Validation
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014