[ENet-discuss] gracefully exiting

Stephan Dilly stephan at extrawurst.org
Fri Oct 1 23:42:10 PDT 2010


I think there is no way to completly disable accepting, but u can just 
disconnet all connecting peers the moment u get the connect even on 
host_service(). this works for me at least.

Stephan

On 01.10.2010 19:40, Jay Sprenkle wrote:
> Good afternoon all,
>
> Is there any easy way to cause an enet host to stop accepting connections?
> On receipt of a flag I'd like to stop accepting new connections but let
> the existing connections finish what they're doing before exiting.
>
> Thanks
>
> --
> ---
> "Is real reporting dead?  News at 11!"
>
>
>
> _______________________________________________
> ENet-discuss mailing list
> ENet-discuss at cubik.org
> http://lists.cubik.org/mailman/listinfo/enet-discuss


More information about the ENet-discuss mailing list