Internet Direct (Indy)
Home
PreviousUpNext
TIdIPAddress.HToNBytes Property

Converts an IP address to its Network byte-order representation.

Pascal
property HToNBytes: TIdBytes;

HToNBytes is a read-only TIdBytes property used to access the byte values for an IP address in their Network byte-order representation. 

The length of the return value is dependent on the value in AddrType

HToNBytes use the TIdStack.HostToNetwork method to convert the value for the IP address.

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.