This repository contains a C program that validates IP addresses and can detect both IPv4 and IPv6 addresses.
- Supports validation of both IPv4 and IPv6 addresses.
- Validates each part of the IP address to ensure it is within the valid range.
- Handles leading zeros in IPv4 addresses.
- Provides descriptive error messages for invalid IP addresses.
- Allows user input for IP address validation.
- Easy-to-understand and modular code structure.
- Clone the repository: git clone https://github.com/spac3-cowboy/IP-Address-Validator.git
- Compile the program: gcc ip_address_validator.c -o ip_validator
- Run the program: ./ip_validator
- Enter an IP address when prompted, and the program will validate whether it is a valid IPv4 or IPv6 address.
This project is licensed under the MIT License.
Contributions are welcome! If you find any issues or have suggestions for improvements, feel free to create a pull request or open an issue in the GitHub repository.
For any questions or inquiries, please contact the repository owner:
GitHub: spac3-cowboy