Re: IP address validation
Re: IP address validation
- Subject: Re: IP address validation
- From: Scott Anguish <email@hidden>
- Date: Thu, 5 Jul 2007 11:46:13 -0400
On Jul 5, 2007, at 5:03 AM, Saritha A wrote:
Hi all,
I want to check validity of IPAddress i.e., i want to check whether
the IPAddress is valid or not and also whether the given IP belongs
to a particular network or not. Are there any classes in cocoa for
this to be done. Please help me to do this. Thanks in advance
I think these are two separate issues.
the first, assuming you mean you want to ensure that J. Q. User
entered the IP address correctly (there are 4 numbers, and that each
of those numbers are dot separated, and within legal ranges..) you'd
need to write an NSFormatter for this.
as to whether it belongs to a particular network or not, it isn't
clear what exactly you mean by this.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden