ChangeLog 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. ENet 1.2.2 (May 20, 2010):
  2. * checksum functionality is now enabled by setting a checksum callback
  3. inside ENetHost instead of being a configure script option
  4. * added totalSentData, totalSentPackets, totalReceivedData, and
  5. totalReceivedPackets counters inside ENetHost for getting usage
  6. statistics
  7. * added enet_host_channel_limit() for limiting the maximum number of
  8. channels allowed by connected peers
  9. * now uses dispatch queues for event dispatch rather than potentially
  10. unscalable array walking
  11. * added no_memory callback that is called when a malloc attempt fails,
  12. such that if no_memory returns rather than aborts (the default behavior),
  13. then the error is propagated to the return value of the API calls
  14. * now uses packed attribute for protocol structures on platforms with
  15. strange alignment rules
  16. ENet 1.2.1 (November 12, 2009):
  17. * fixed bug that could cause disconnect events to be dropped
  18. * added thin wrapper around select() for portable usage
  19. * added ENET_SOCKOPT_REUSEADDR socket option
  20. * factored enet_socket_bind()/enet_socket_listen() out of enet_socket_create()
  21. * added contributed Code::Blocks build file
  22. ENet 1.2 (February 12, 2008):
  23. * fixed bug in VERIFY_CONNECT acknowledgement that could cause connect
  24. attempts to occasionally timeout
  25. * fixed acknowledgements to check both the outgoing and sent queues
  26. when removing acknowledged packets
  27. * fixed accidental bit rot in the MSVC project file
  28. * revised sequence number overflow handling to address some possible
  29. disconnect bugs
  30. * added enet_host_check_events() for getting only local queued events
  31. * factored out socket option setting into enet_socket_set_option() so
  32. that socket options are now set separately from enet_socket_create()
  33. Caveats: While this release is superficially protocol compatible with 1.1,
  34. differences in the sequence number overflow handling can potentially cause
  35. random disconnects.
  36. ENet 1.1 (June 6, 2007):
  37. * optional CRC32 just in case someone needs a stronger checksum than UDP
  38. provides (--enable-crc32 configure option)
  39. * the size of packet headers are half the size they used to be (so less
  40. overhead when sending small packets)
  41. * enet_peer_disconnect_later() that waits till all queued outgoing
  42. packets get sent before issuing an actual disconnect
  43. * freeCallback field in individual packets for notification of when a
  44. packet is about to be freed
  45. * ENET_PACKET_FLAG_NO_ALLOCATE for supplying pre-allocated data to a
  46. packet (can be used in concert with freeCallback to support some custom
  47. allocation schemes that the normal memory allocation callbacks would
  48. normally not allow)
  49. * enet_address_get_host_ip() for printing address numbers
  50. * promoted the enet_socket_*() functions to be part of the API now
  51. * a few stability/crash fixes