Text TCP/IP IPv4 Address To Unsigned
Summary
The **Text TCP/IP IPv4 Address To Unsigned** component converts a human-readable IPv4 address string in dotted-decimal notation (e.g., `192.168.0.1`) into a 32-bit unsigned integer format. This allows textual IP addresses to be used programmatically in systems that require numerical representation.
Description
IPv4 addresses are typically written as four decimal numbers separated by dots. This component parses the string representation, validates the format, and converts the result into an unsigned 32-bit integer value. It also provides an **Invalid** output pin that triggers when the input text is not a valid IPv4 address.
Diagram:
Properties
- Enabled (boolean) – Enables or disables the component.
Pins
Input Pins
- in (text) – Input IPv4 address in dotted-decimal notation.
Output Pins
- out – Unsigned 32-bit IPv4 address output.
- Invalid (clock) – Triggered if the input text is not a valid IPv4 address.
Categories
- File:TArduinoConversionCategory.png Category Conversion – Data conversion components.
- File:TArduinoUtilityCategory.png Category Utility – Utility and formatting tools.
- File:TArduinoNetworkingCategory.png Category Networking – Networking-related components.