[ENet-discuss] gracefully exiting

Jay Sprenkle jsprenkle at gmail.com
Sat Oct 2 06:26:33 PDT 2010


Too bad. Good work arounds, thanks all.


On Sat, Oct 2, 2010 at 2:50 AM, Mihai Draghicioiu <
mihai.draghicioiu at gmail.com> wrote:

> perhaps you can send a message that says 'server is shutting down.
> connection refused'
>
> On Sat, Oct 2, 2010 at 9:42 AM, Stephan Dilly <stephan at extrawurst.org>
> wrote:
> > 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
> >
> > _______________________________________________
> > ENet-discuss mailing list
> > ENet-discuss at cubik.org
> > http://lists.cubik.org/mailman/listinfo/enet-discuss
> >
> _______________________________________________
> ENet-discuss mailing list
> ENet-discuss at cubik.org
> http://lists.cubik.org/mailman/listinfo/enet-discuss
>



-- 
---
"Is real reporting dead?  News at 11!"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cubik.org/pipermail/enet-discuss/attachments/20101002/de09efbe/attachment.html>


More information about the ENet-discuss mailing list