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

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

Pascal
function HostToNetwork(
    AValue: Int64
): Int64; virtual; abstract; overload;
Parameters 
Description 
AValue 
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.

HostToNetwork

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.