Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

methodTsnifClassServer.NewConnection

function NewConnection(aConn: TsnipAbstractConnection): TsnifContext;
Server-side accept: given a freshly accepted transport connection, creates a new TsnifContext (naming the connection) or re-attaches to the existing context of a reconnecting client (matched by the connection Name). The transport server loop calls this once per accepted connection before entering its request loop; raises if a named connection has expired or is still active.