Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

methodTsmStreamSecII.TLSAccept

function TLSAccept(UserData: Pointer; Src, Response: TStream; ErrorCode: PInteger = nil): Integer; overload;
Server entry point: process an inbound ClientHello (and subsequent handshake flights) from Src for the connection tagged UserData, writing the server's response bytes to Response. Creates the server session on first call. This is the server counterpart to the client's TLSConnect.
function TLSAccept(UserData: Pointer; Src, EarlyData, Response: TStream; ErrorCode: PInteger = nil): Integer; overload;
TLS 1.3 (NEW, task 11): accept with a 0-RTT EarlyData destination.