Internet Direct (Indy) Version 9.0.2 Beta
|
procedure WriteInteger(AValue: Integer; const AConvert: boolean);
AValue is the integer value to send to the peer connection.
AConvert indicates that the integer in AValue should be converted from local host byte-order to Internet byte-order. When AConvertis True, the protcol stack method WSHToNl is called to convert the binary integer value.
WriteInteger calls WriteBuffer to send AValue to the peer connection.