ChangeLog 2.6 KB

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