|
-
January 25th, 1999, 05:17 AM
#1
URGENT :- How to Validate an IP Address ??
How do I validate whether the entered IP ADDress is right or not ?
-
January 27th, 1999, 11:14 AM
#2
Re: URGENT :- How to Validate an IP Address ??
Perfect validation of IP address is not possible. Because in this world there are lot of systems which has different IP addresses. What you can validate is the format ot the pattern of IP address. For example, you validate 1011.101.11.1, this is an invalid IP address because the maximum possible is 255.255.255.255. You get the substrings from the IPString and check the value. If it is greater than 255 then give error message.
Please try this method...
Girish
Project Manager,
GuildSoft Pvt. Ltd.
-
January 28th, 1999, 12:20 AM
#3
Re: URGENT :- How to Validate an IP Address ??
Hi Girish
Thanks for your reply. But I think I should have been more explicit. I
want to know whether a Computer with the particular IP Address exists --->
How to do Pinging ? I don't allow the user to enter more than 255
Thanks
Anand
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|