Internet Direct (Indy)
Home
PreviousUpNext
IPv4ToDWord Function

Converts an IP version 4 IP address to its representation as an unsigned 32-bit numeric value.

Pascal
function IPv4ToDWord(
    const AIPAddress: string
): Cardinal; overload;
Parameters 
Description 
AIPAddress 
Numeric IP address to convert to the ordinal value. 

Cardinal - Unsigned 32-bit value representing the IP address.

IPv4ToDWord is an overloaded function used to convert an IP version 4 IP address to its representation as an unsigned 32-bit numeric value. 

AIPAddress is the IP address, in dotted decimal or hexadecimal form, to convert to the ordinal data type. 

Use MakeDWordIntoIPv4Address to convert a numeric value into an IP version 4 IP address.

IPv4ToDWord

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.