Method: Rex::Socket::Comm::Events#on_socket_created

Defined in:
lib/rex/socket/comm.rb

#on_socket_created(comm, sock, param) ⇒ Object

This callback is notified when a new socket is created and the parameters that were used to create it. This provides the callback with a chance to extend or otherwise modify the socket before it’s passed on to the actual requestor.



40
41
# File 'lib/rex/socket/comm.rb', line 40

def on_socket_created(comm, sock, param)
end