Internet Direct (Indy) Version 9.0.2 Beta
|
procedure WriteSmallInt(AValue: SmallInt; const AConvert: boolean);
When AConvert is True, the value specified in AValue is converted to Internet byte-order using the prtocol stack method WSHToNs.
WriteSmallInt calls WriteBuffer to send the SmallInt value to the peer connection.