Skip to content

IP Address Validator is a C program designed to validate IP addresses, supporting both IPv4 and IPv6 formats. It offers a simple and modular code structure, allowing for easy comprehension and maintenance.

License

Notifications You must be signed in to change notification settings

spac3-cowboy/IP-Address-Validator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

IP Address Validator

This repository contains a C program that validates IP addresses and can detect both IPv4 and IPv6 addresses.

Features

  • 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.

Usage

  1. Clone the repository: git clone https://github.com/spac3-cowboy/IP-Address-Validator.git
  2. Compile the program: gcc ip_address_validator.c -o ip_validator
  3. Run the program: ./ip_validator
  4. Enter an IP address when prompted, and the program will validate whether it is a valid IPv4 or IPv6 address.

License

This project is licensed under the MIT License.

Contributions

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.

Contact

For any questions or inquiries, please contact the repository owner:

GitHub: spac3-cowboy

About

IP Address Validator is a C program designed to validate IP addresses, supporting both IPv4 and IPv6 formats. It offers a simple and modular code structure, allowing for easy comprehension and maintenance.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages