Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6IEventQHooks::validateAccept ( P6NETADDR *  pLocalAddr,
P6NETADDR *  pRemoteAddr 
)
pure virtual

Validates a newly accepted socket.

This method is called by the I/O engine upon accepting a new connection prior to posting the accept event to the I/O queue. The return value of this method determines if the connection will be terminated or not.

Parameters
pLocalAddr[ in ] A pointer to the local address for this connection.
pRemoteAddr[ in ] A pointer to the remote address for this connection.
Returns
SuccessP6R::eOkThe connection will be accepted.
FailureeNetFilteredThe connection will be aborted.