[ENet-discuss] How to temporarily keep a host from accepting incoming connection requests?

Benoit Germain bgermain at ubisoft.fr
Thu Jun 17 03:17:05 PDT 2010


> -----Message d'origine-----
> De : enet-discuss-bounces at cubik.org [mailto:enet-discuss-
> bounces at cubik.org] De la part de Lee Salzman
> Envoyé : jeudi 17 juin 2010 12:17
> À : Discussion of the ENet library
> Objet : Re: [ENet-discuss] How to temporarily keep a host from
> accepting incoming connection requests?
> 
> I am not entirely sure why you would even want a password, especially
> of
> such small size, if your goal is just to entirely block connections? It
> may as well be a boolean flag in the host that, when set, drops all
> connect packets there.
> 

Well, I am not looking for strong security here, just some kind of basic filtering. Let's say we have several developers on the same subnetwork. Each might want to force his own client to connect to his own server without having to do high-level filtering so that the each other's sessions are not disturbed by unwanted successful connections. So this filtering is more a developer-friendly feature than anything else. Session blocking, however, has utility in released products. I just don't want to 'waste' a separate boolean on this when a special filter can to the trick.

But I take it that since you didn't comment on the actual way I reject the connection I am doing this right, so I'm happy :-)


Benoit.


More information about the ENet-discuss mailing list