Code: Select all
function handleInternalEvent(evt)
{
if (evt.name == "loginRequest")
{
var chan = evt["chan"];
var ip = chan.socket().getInetAddress().getHostAddress();
}
}
But it fails when the client connects through the bluebox. Is there a way to get the client ip that works with the bluebox?