Internet Direct (Indy) Version 9.0.2 Beta
TIdTCPConnection.WriteCardinal
Sends a cardinal to the peer.

procedure WriteCardinal(AValue: Cardinal; const AConvert: boolean);
Parameters
AValue: Cardinal
The 32bit value to send to the peer.

const AConvert: boolean = True
Default is True. When true, the value is converted to Internet Byte order from the Native Intel Byte order. If false, no byte-order conversion is done.

Description
This procedure sends a 32 bit unsigned value (cardinal) to the peer.

The TIdTimeServer component is based on this function.