prg_ip_address_string_to_value()
Abstract
Converts a string from dotted notation into a single 32-bit integral value.
Syntax
prg_ip_address_string_to_value (ip_address_str)
| Argument | Type | Description |
|---|---|---|
ip_address_str |
const char * |
the string to be parsed |
Return Type
unsigned int
The integral value of the corresponding string.
Header
prg_ip_address.h
Details
Converts a string from dotted notation (“xxx.xxx.xxx.xxx”) into a single 32-bit integral value. Undelimited integral strings are also handled and treated as full 32-bit integral values. Special string like “Auto Assigned” or “Unnumbered” are not handled.