I have an IP address in unsigned long format, coding in C++
I have a CIDR notation IP address range such as “10.2.3.98/24”
How do i check if my IP address overlaps with the mentioned range?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This should work if you already know ip addresses as unsigned long and numbers: