That is the way to do it. Just make sure not to leave events sitting
there forever as that can leave the peers in a zombie state, waiting to
notify the user of their status.
Lee
Philip Bennefall wrote:
Looking at the enet_host_service function implementation it seems as
though just passing null to the function will do what I'm after, but
are there any side effects to doing this or will the rest of the
functionality, other than receiving events, work as expected (e.g.
keep buffering events until a valid event pointer is given in a call)?
Kind regards,
Philip Bennefall
----- Original Message ----- From: "Philip Bennefall"
<[email protected]>
To: "Discussion of the ENet library" <[email protected]>
Sent: Tuesday, June 08, 2010 6:26 PM
Subject: Re: [ENet-discuss] Pre-release feedback?
Hi again,
One function that would be very useful to me at this point would be
one that
you can poll to keep the connection alive (e.g. perform pings and
calculate
roundtrips etc), without receiving events. In my scripting engine I
wish to
poll ENet continuously in the background to keep the connection stats
accurate, but only give events to users when they request them. Will the
flush function do this? In short, the equivalent of host_service but
without
receiving any events. Is this doable?
Kind regards,
Philip Bennefall
----- Original Message ----- From: "Lee Salzman" <[email protected]>
To: "Discussion of the ENet library" <[email protected]>
Sent: Tuesday, June 08, 2010 1:54 PM
Subject: [ENet-discuss] Pre-release feedback?
For those who have tried the 1.2.2 and 1.3.0 pre-releases, did anyone
find any issues with them, or have any last minute requests?
I weeded out one bug during internal testing related to sending of
fragmented packets, and I managed to squeeze out some better compression
out of the range coder, but otherwise they seemed fairly stable to me.
So if no one's got any objections I'll be releasing these two in the
next couple of days.
Lee
_______________________________________________
ENet-discuss mailing list
[email protected]
http://lists.cubik.org/mailman/listinfo/enet-discuss
--------------------------------------------------------------------------------
Internal Virus Database is out of date.
Checked by AVG - www.avg.com
Version: 8.5.432 / Virus Database: 271.1.1/2662 - Release Date: 02/01/10
12:37:00
_______________________________________________
ENet-discuss mailing list
[email protected]
http://lists.cubik.org/mailman/listinfo/enet-discuss
--------------------------------------------------------------------------------
Internal Virus Database is out of date.
Checked by AVG - www.avg.com
Version: 8.5.432 / Virus Database: 271.1.1/2662 - Release Date:
02/01/10 12:37:00
_______________________________________________
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