|
@@ -1,5 +1,10 @@
|
|
* use getaddrinfo and getnameinfo where available
|
|
* use getaddrinfo and getnameinfo where available
|
|
|
|
|
|
|
|
+ENet 2.0.0 (April 22, 2018):
|
|
|
|
+* changed library format to single header
|
|
|
|
+* applied project-wide code style change
|
|
|
|
+* integrated ipv6 changes from @proller
|
|
|
|
+
|
|
ENet 1.3.13 (April 30, 2015):
|
|
ENet 1.3.13 (April 30, 2015):
|
|
|
|
|
|
* miscellaneous bug fixes
|
|
* miscellaneous bug fixes
|
|
@@ -8,7 +13,7 @@ ENet 1.3.13 (April 30, 2015):
|
|
|
|
|
|
ENet 1.3.12 (April 24, 2014):
|
|
ENet 1.3.12 (April 24, 2014):
|
|
|
|
|
|
-* added maximumPacketSize and maximumWaitingData fields to ENetHost to limit the amount of
|
|
|
|
|
|
+* added maximumPacketSize and maximumWaitingData fields to ENetHost to limit the amount of
|
|
data waiting to be delivered on a peer (beware that the default maximumPacketSize is
|
|
data waiting to be delivered on a peer (beware that the default maximumPacketSize is
|
|
32MB and should be set higher if desired as should maximumWaitingData)
|
|
32MB and should be set higher if desired as should maximumWaitingData)
|
|
|
|
|
|
@@ -31,7 +36,7 @@ ENet 1.3.9 (August 19, 2013):
|
|
|
|
|
|
ENet 1.3.8 (June 2, 2013):
|
|
ENet 1.3.8 (June 2, 2013):
|
|
|
|
|
|
-* added enet_linked_version() for checking the linked version
|
|
|
|
|
|
+* added enet_linked_version() for checking the linked version
|
|
* added enet_socket_get_address() for querying the local address of a socket
|
|
* added enet_socket_get_address() for querying the local address of a socket
|
|
* silenced some debugging prints unless ENET_DEBUG is defined during compilation
|
|
* silenced some debugging prints unless ENET_DEBUG is defined during compilation
|
|
* handle EINTR in enet_socket_wait() so that enet_host_service() doesn't propagate errors from signals
|
|
* handle EINTR in enet_socket_wait() so that enet_host_service() doesn't propagate errors from signals
|
|
@@ -50,7 +55,7 @@ ENet 1.3.6 (December 11, 2012):
|
|
* added enet_socket_shutdown() for issuing shutdown on a socket
|
|
* added enet_socket_shutdown() for issuing shutdown on a socket
|
|
* fixed enet_socket_connect() to not error on non-blocking connects
|
|
* fixed enet_socket_connect() to not error on non-blocking connects
|
|
* fixed bug in MTU negotiation during connections
|
|
* fixed bug in MTU negotiation during connections
|
|
-
|
|
|
|
|
|
+
|
|
ENet 1.3.5 (July 31, 2012):
|
|
ENet 1.3.5 (July 31, 2012):
|
|
|
|
|
|
* fixed bug in unreliable packet fragment queuing
|
|
* fixed bug in unreliable packet fragment queuing
|
|
@@ -82,7 +87,7 @@ ENet 1.3.0 (June 5, 2010):
|
|
|
|
|
|
* enet_host_create() now requires the channel limit to be specified as
|
|
* enet_host_create() now requires the channel limit to be specified as
|
|
a parameter
|
|
a parameter
|
|
-* enet_host_connect() now accepts a data parameter which is supplied
|
|
|
|
|
|
+* 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
|
|
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
|
|
* 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()
|
|
which can be set with enet_host_compress_with_range_coder()
|
|
@@ -91,7 +96,7 @@ which can be set with enet_host_compress_with_range_coder()
|
|
field, saving 4 bytes per packet unless the checksum option is used
|
|
field, saving 4 bytes per packet unless the checksum option is used
|
|
* removed the dependence on the rand callback for session number handling
|
|
* removed the dependence on the rand callback for session number handling
|
|
|
|
|
|
-Caveats: This version is not protocol compatible with the 1.2 series or
|
|
|
|
|
|
+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
|
|
earlier. The enet_host_connect and enet_host_create API functions require
|
|
supplying additional parameters.
|
|
supplying additional parameters.
|
|
|
|
|
|
@@ -122,15 +127,15 @@ unscalable array walking
|
|
* added no_memory callback that is called when a malloc attempt fails,
|
|
* added no_memory callback that is called when a malloc attempt fails,
|
|
such that if no_memory returns rather than aborts (the default behavior),
|
|
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
|
|
then the error is propagated to the return value of the API calls
|
|
-* now uses packed attribute for protocol structures on platforms with
|
|
|
|
|
|
+* now uses packed attribute for protocol structures on platforms with
|
|
strange alignment rules
|
|
strange alignment rules
|
|
-* improved autoconf build system contributed by Nathan Brink allowing
|
|
|
|
|
|
+* improved autoconf build system contributed by Nathan Brink allowing
|
|
for easier building as a shared library
|
|
for easier building as a shared library
|
|
|
|
|
|
Caveats: If you were using the compile-time option that enabled checksums,
|
|
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
|
|
make sure to set the checksum callback inside ENetHost to enet_crc32 to
|
|
regain the old behavior. The ENetCallbacks structure has added new fields,
|
|
regain the old behavior. The ENetCallbacks structure has added new fields,
|
|
-so make sure to clear the structure to zero before use if
|
|
|
|
|
|
+so make sure to clear the structure to zero before use if
|
|
using enet_initialize_with_callbacks().
|
|
using enet_initialize_with_callbacks().
|
|
|
|
|
|
ENet 1.2.1 (November 12, 2009):
|
|
ENet 1.2.1 (November 12, 2009):
|
|
@@ -160,17 +165,17 @@ random disconnects.
|
|
|
|
|
|
ENet 1.1 (June 6, 2007):
|
|
ENet 1.1 (June 6, 2007):
|
|
|
|
|
|
-* optional CRC32 just in case someone needs a stronger checksum than UDP
|
|
|
|
|
|
+* optional CRC32 just in case someone needs a stronger checksum than UDP
|
|
provides (--enable-crc32 configure option)
|
|
provides (--enable-crc32 configure option)
|
|
-* the size of packet headers are half the size they used to be (so less
|
|
|
|
|
|
+* the size of packet headers are half the size they used to be (so less
|
|
overhead when sending small packets)
|
|
overhead when sending small packets)
|
|
-* enet_peer_disconnect_later() that waits till all queued outgoing
|
|
|
|
|
|
+* enet_peer_disconnect_later() that waits till all queued outgoing
|
|
packets get sent before issuing an actual disconnect
|
|
packets get sent before issuing an actual disconnect
|
|
-* freeCallback field in individual packets for notification of when a
|
|
|
|
|
|
+* freeCallback field in individual packets for notification of when a
|
|
packet is about to be freed
|
|
packet is about to be freed
|
|
-* ENET_PACKET_FLAG_NO_ALLOCATE for supplying pre-allocated data to a
|
|
|
|
-packet (can be used in concert with freeCallback to support some custom
|
|
|
|
-allocation schemes that the normal memory allocation callbacks would
|
|
|
|
|
|
+* ENET_PACKET_FLAG_NO_ALLOCATE for supplying pre-allocated data to a
|
|
|
|
+packet (can be used in concert with freeCallback to support some custom
|
|
|
|
+allocation schemes that the normal memory allocation callbacks would
|
|
normally not allow)
|
|
normally not allow)
|
|
* enet_address_get_host_ip() for printing address numbers
|
|
* enet_address_get_host_ip() for printing address numbers
|
|
* promoted the enet_socket_*() functions to be part of the API now
|
|
* promoted the enet_socket_*() functions to be part of the API now
|