Topic Path: Symbol Reference > Classes > TIdStackLinux Class > TIdStackLinux Methods > HostToNetwork Method > HostToNetwork Method (Int64)
TIdStackLinux.HostToNetwork Method (Int64)

Defines the interface for converting from host-specific to network byte order for the ordinal data type.

function HostToNetwork(
    AValue: Int64
): Int64; override;
Ordinal value for the byte order conversion. 

Int64 - Value with the converted byte order.

HostToNetwork is an overloaded abstract virtual method that defines the interface used to convert the byte order for the specified value from its' host-specific byte order to its' representation in network byte order. 

HostToNetwork is implemented in TIdStack for TIdIPv6Address data types. The HostToNetwork method for other data types must be overridden and implemented in a descendant class that provides access to the protocol stack implementation for the host operating system or platform.


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