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
[email protected]
http://lists.cubik.org/mailman/listinfo/enet-discuss
_______________________________________________
ENet-discuss mailing list
[email protected]
http://lists.cubik.org/mailman/listinfo/enet-discuss