Method deprecated or moved
This method is deprecated or moved on the latest stable version.
The last existing version (v2_1_10) is shown here.
connecting(client)
protected
Called when a client connects, if auditing is enabled.
client |
a TCPSocket instance representing the client
that connected
|
Return true to allow this client to connect, false to prevent it.
# File lib/gserver.rb, line 162
def connecting(client)
addr = client.peeraddr
log("#{self.class.to_s} #{@host}:#{@port} client:#{addr[1]} " +
"#{addr[2]}<#{addr[3]}> connect")
true
end