Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

methodTsmCustomTLSInternalServer.TLSConnectAsServer

function TLSConnectAsServer(UserData: Pointer; Response: TStream; ErrorCode: PInteger = nil): Integer;
Server-side: like TLSAccept, but named for the case where the same component/connection plays the server role while still being driven through the "Connect"-style calling convention (no separate Src stream for the first call) - e.g. dual-role sockets that can be either end of a connection. Internally this creates a server session and calls Accept with a nil source.