Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

EncodeHandshake

function EncodeHandshake(aMsgType: Byte; const aBody: tBytes): tBytes;
Wrap a body as a handshake message: msg_type(1) || length(3) || body.