[ENet-discuss] Drop unwanted connections
Adam D. Moss
adam at gimp.org
Sat Dec 4 08:18:34 PST 2004
Marcin Zajączkowski wrote:
> Is it possible (planned) to reject connection on application level?
> For example: I've got ENET_EVENT_TYPE_CONNECT event and e.g. looked
> through IP's black list (this is perform in my code, not in library) and
> can reject connection.
You could immediately perform an enet_peer_reset() on the peer
when you find it in the blacklist.
--Adam
--
Adam D. Moss . ,,^^ adam at gimp.org http://www.foxbox.org/ co:3
More information about the ENet-discuss
mailing list