CIRCDCCState.sendRequest Member

Syntax

object.sendRequest();

Returns

Remarks

See Also

Source Code

function dccstate_sendRequest()
{
if (!this.parent.localIP || (this.state != DCC_STATE_INIT))
throw "Must have a local IP and be in INIT state.";
this.state = DCC_STATE_REQUESTED;
this.dir = DCC_DIR_SENDING;
this.requested = new Date();
this.requestTimeout = setTimeout(function (o){ o.abort(); },
this.parent.requestTimeout, this.owner);
this.eventPump.addEvent(new CEvent(this.eventType, "request",
this.owner, "onRequest"));
}