Internet Direct (Indy)
Home
PreviousUpNext
TIdStack.HostToNetwork Method (TIdIPv6Address)

Converts the byte order for a IPv6 network address from host-specific to network byte order.

Pascal
function HostToNetwork(
    AValue: TIdIPv6Address
): TIdIPv6Address; virtual; overload;
Parameters 
Description 
AValue 
IPv6 network address for the byte order conversion. 

TIdIPv6Address - IPv6 with the converted byte order values.

HostToNetwork is an overloaded virtual method that converts the byte order of the IPv6 address in AValue from its' host-specific representation to its' representation in network byte order. 

HostToNetwork iterates over the members in the TIdIPv6Address data type and calls HostToNetwork to convert and store the Word value components in the structured IP address. 

Overloaded variants of HostToNetwork that operate on other ordinal data types must must be overridden and implemented in a descendant class that provides access to the protocol stack implementation for the host operating system or platform.

HostToNetwork 

TIdIPv6Address

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.