IdentServer.onSocketAccepted Member

Syntax

object.onSocketAccepted(serv, transport);

Arguments

ArgumentSummary
serv
transport

Returns

Remarks

See Also

Source Code

function ident_gotconn(serv, transport)
{
// Using the listening CBSConnection to accept would stop it listening.
// A new CBSConnection does exactly what we want.
var connection = new CBSConnection();
connection.accept(transport);
if (jsenv.HAS_NSPR_EVENTQ)
connection.startAsyncRead(new IdentListener(this, connection));
else
throw "IdentServer requires HAS_NSPR_EVENTQ."; // FIXME
}