IdentListener.onRawData Member
Syntax
object.onRawData(e);
Arguments
Argument | Summary |
---|---|
e |
Returns
Remarks
See Also
Source Code
function ident_listener_rawdata(e)
{
var ports = e.line.match(/(\d+) *, *(\d+)/);
// <port-on-server> , <port-on-client>
// (where "server" is the ident server)
if (!ports)
{
this.connection.disconnect(); // same meaning as "ERROR : UNKNOWN-ERROR"
return;
}
e.type = "parsedrequest";
e.destObject = this;
e.destMethod = "onParsedRequest";
e.localPort = ports[1];
e.remotePort = ports[2];
}