Text TCP/IP IPv4 Address To Unsigned

From Visuino
Revision as of 01:03, 14 September 2025 by Visuino (talk | contribs) (Created page with "Image:TArduinoTextToIPv4.png == 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 th...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

File:TArduinoTextToIPv4.png

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