Topic Path: Symbol Reference > Functions > IPv4ToDWord Function (string)
ContentsIndexHome
PreviousUpNext
IPv4ToDWord Function

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

File
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

Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.