[ENet-discuss] ENet 1.2.2 and 1.3.0 released!
Lee Salzman
lsalzman1 at cox.net
Wed Jun 9 14:33:41 PDT 2010
Okay, I put up the official 1.2.2 and 1.3.0 release. ENet CVS now
contains 1.3.0 sources, so beware. Again, 1.2.2 is the last release that
will be protocol compatible with the 1.2.x versions, whereas 1.3.0 has
all the stuff added to 1.2.2 plus some more cool extras.
1.3.0 download: http://enet.bespin.org/download/enet-1.3.0.tar.gz
1.2.2 download: http://enet.bespin.org/download/enet-1.2.2.tar.gz
ChangeLog copy/paste spam below:
ENet 1.3.0 (June 5, 2010):
* enet_host_create() now requires the channel limit to be specified as
a parameter
* enet_host_connect() now accepts a data parameter which is supplied
to the receiving receiving host in the event data field for a connect event
* added an adaptive order-2 PPM range coder as a built-in compressor option
which can be set with enet_host_compress_with_range_coder()
* added support for packet compression configurable with a callback
* improved session number handling to not rely on the packet checksum
field, saving 4 bytes per packet unless the checksum option is used
* removed the dependence on the rand callback for session number handling
Caveats: This version is not protocol compatible with the 1.2 series or
earlier. The enet_host_connect and enet_host_create API functions require
supplying additional parameters.
ENet 1.2.2 (June 5, 2010):
* checksum functionality is now enabled by setting a checksum callback
inside ENetHost instead of being a configure script option
* added totalSentData, totalSentPackets, totalReceivedData, and
totalReceivedPackets counters inside ENetHost for getting usage
statistics
* added enet_host_channel_limit() for limiting the maximum number of
channels allowed by connected peers
* now uses dispatch queues for event dispatch rather than potentially
unscalable array walking
* added no_memory callback that is called when a malloc attempt fails,
such that if no_memory returns rather than aborts (the default behavior),
then the error is propagated to the return value of the API calls
* now uses packed attribute for protocol structures on platforms with
strange alignment rules
* improved autoconf build system contributed by Nathan Brink allowing
for easier building as a shared library
Caveats: If you were using the compile-time option that enabled checksums,
make sure to set the checksum callback inside ENetHost to enet_crc32 to
regain the old behavior. The ENetCallbacks structure has added new fields,
so make sure to clear the structure to zero before use if
using enet_initialize_with_callbacks().
More information about the ENet-discuss
mailing list