CIRCDCCChat.onSocketAccepted Member

CBSConnection points the event here.

Syntax

object.onSocketAccepted(socket, transport);

Arguments

ArgumentSummary
socket
transport

Returns

Remarks

See Also

Source Code

function dchat_onSocketAccepted(socket, transport)
{
this.state.getAccept();
this.connection.accept(transport, null);
this.state.socketConnected();
this.remoteIP = transport.host;
// Start the reading!
if (jsenv.HAS_NSPR_EVENTQ)
this.connection.startAsyncRead(this);
else
this.eventPump.addEvent(new CEvent("dcc-chat", "poll",
this, "onPoll"));
}