Too bad. Good work arounds, thanks all.<br><br><br><div class="gmail_quote">On Sat, Oct 2, 2010 at 2:50 AM, Mihai Draghicioiu <span dir="ltr"><<a href="mailto:mihai.draghicioiu@gmail.com">mihai.draghicioiu@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">perhaps you can send a message that says 'server is shutting down.<br>
connection refused'<br>
<div><div></div><div class="h5"><br>
On Sat, Oct 2, 2010 at 9:42 AM, Stephan Dilly <<a href="mailto:stephan@extrawurst.org">stephan@extrawurst.org</a>> wrote:<br>
> I think there is no way to completly disable accepting, but u can just<br>
> disconnet all connecting peers the moment u get the connect even on<br>
> host_service(). this works for me at least.<br>
><br>
> Stephan<br>
><br>
> On 01.10.2010 19:40, Jay Sprenkle wrote:<br>
>><br>
>> Good afternoon all,<br>
>><br>
>> Is there any easy way to cause an enet host to stop accepting connections?<br>
>> On receipt of a flag I'd like to stop accepting new connections but let<br>
>> the existing connections finish what they're doing before exiting.<br>
>><br>
>> Thanks<br>
>><br>
>> --<br>
>> ---<br>
>> "Is real reporting dead? News at 11!"<br>
>><br>
>><br>
>><br>
>> _______________________________________________<br>
>> ENet-discuss mailing list<br>
>> <a href="mailto:ENet-discuss@cubik.org">ENet-discuss@cubik.org</a><br>
>> <a href="http://lists.cubik.org/mailman/listinfo/enet-discuss" target="_blank">http://lists.cubik.org/mailman/listinfo/enet-discuss</a><br>
><br>
> _______________________________________________<br>
> ENet-discuss mailing list<br>
> <a href="mailto:ENet-discuss@cubik.org">ENet-discuss@cubik.org</a><br>
> <a href="http://lists.cubik.org/mailman/listinfo/enet-discuss" target="_blank">http://lists.cubik.org/mailman/listinfo/enet-discuss</a><br>
><br>
_______________________________________________<br>
ENet-discuss mailing list<br>
<a href="mailto:ENet-discuss@cubik.org">ENet-discuss@cubik.org</a><br>
<a href="http://lists.cubik.org/mailman/listinfo/enet-discuss" target="_blank">http://lists.cubik.org/mailman/listinfo/enet-discuss</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>---<br>"Is real reporting dead? News at 11!"<br>