aboutsummaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2020-11-151.3.17 release prepv1.3.17Lee Salzman
2020-11-13avoid sending packets in unacknowledged windowLee Salzman
2020-10-19fix for sending getting too far ahead of receiverLee Salzman
2020-09-081.3.16 release prepv1.3.16Lee Salzman
2020-09-08revert failed throttle changesLee Salzman
2020-09-05clamp RTT variance a bit more loosely for throttleLee Salzman
2020-09-03round RTT stats before comparingLee Salzman
2020-09-01clamp minimum highest RTT varianceLee Salzman
2020-08-23more command queuing fixesLee Salzman
2020-08-23command queuing fixLee Salzman
2020-08-23make throttle more readily accelerateLee Salzman
2020-08-12make throttle even more tolerant of varianceLee Salzman
2020-07-24clamp throttle variance from below based on RTT percentageLee Salzman
2020-07-23fix clearing of outgoing command queueLee Salzman
2020-07-23use unified outgoing command queue for reliable and unreliable commandsLee Salzman
2020-04-20fix doc licensev1.3.15Lee Salzman
2020-04-19enet 1.3.15 release prepLee Salzman
2020-04-16update license datesLee Salzman
2020-04-16stabilize packet throttle when RTT variance is lowLee Salzman
2020-04-13don't throttle on first RTT measurementLee Salzman
2020-04-07Merge pull request #120 from Vincenz099/masterLee Salzman
Return 0 instead of -1 on enet_protocol_receive_incoming_commands
2020-04-07Set DWORD sentLength = 0;Maxim
Same case like receive, we should initialize this variable.
2020-04-07Se trecvLength = 0;Maxim
2020-04-07Make recvLength = 0; In the rare case of it having bogus data.Maxim
I noticed from testing this that this might be the source of it, I once had a package returned with length total bogus. like 982349829 or something like that, it crashed my game, I suspect this is the source.
2020-04-07Return 0 instead of -1 on enet_protocol_receive_incoming_commandsMaxim
Return 0 instead of -1 on enet_protocol_receive_incoming_commands when nothing received. This allows the Service loop to continue running and not return an error when there is nothing to do with the socket receive. From debugging I found sometimes the enet_protocol_receive_incoming_commands returns -1 because simply nothing happened in the 256 for loop. Other functions like enet_protocol_send_outgoing_commands return 0 when nothing happened.
2020-04-04accumulate fractional RTT valuesLee Salzman
2020-04-03clamp roundTripTimeLee Salzman
2020-03-03make RTT calculations more TCP-like (contributed by Vladimir 'virtul' Ivannikov)Lee Salzman
2019-01-27enet 1.3.14 release prepv1.3.14Lee Salzman
2019-01-27delay handling of DISCONNECT_LATER until in-flight unreliable packets are sentLee Salzman
2018-09-11Merge pull request #96 from Subv/patch-2Lee Salzman
Add the <arpa/inet.h> include to unix.h
2018-09-10Remove the now unneeded <arpa/inet.h> include in unix.cSebastian Valle
This is already included in unix.h
2018-09-11Merge pull request #95 from Subv/patch-1Lee Salzman
Use <poll.h> instead of <sys/poll.h> in unix.c
2018-09-10Add the <arpa/inet.h> include to unix.h.Sebastian Valle
Some files were using ENET_HOST_TO_NET_32 and ENET_NET_TO_HOST_32 without having included the <arpa/inet.h> file beforehand, leading to compiler warnings about implicit declarations of ntohl and htonl.
2018-09-10Use <poll.h> instead of <sys/poll.h> in unix.cSebastian Valle
<poll.h> is the correct POSIX header according to the POSIX standard. Some targets (like homebrew for the Nintendo Switch) do not provide a <sys/poll.h> so it makes compiling for them rather hard.
2018-08-19remove bandwidth limits from tutorialLee Salzman
2017-10-20Merge pull request #83 from thelvyn/masterLee Salzman
CMake source groups added for cleaner VS solutions.
2017-10-15CMake source groups added for cleaner VS solutions.Lukasz Fronc
2017-07-12Merge pull request #76 from jroweboy/mingw-fixLee Salzman
Fix mingw compilation when using CMake
2017-07-12Fix mingw compilationJames Rowe
In order to compile enet on mingw, you need to link against winmm and ws2_32. This explicitly makes those libraries required on mingw
2017-05-21Merge pull request #71 from cxong/patch-2Lee Salzman
Don't treat warnings as errors
2017-05-22Don't treat warnings as errorsCong
When enet is included as a child CMake project in a parent that has warnings treated as errors, enet fails to build. This ensures that the compiler doesn't treat warnings as errors for enet.
2017-05-21Merge pull request #70 from cxong/patch-1Lee Salzman
reduce warnings on MSVC
2017-05-21MSVC only warn up to level 3Cong
enet produces warnings at level 4, which can interrupt compiles if warnings are treated as errors. Turning down the warning level resolves the issue.
2017-05-06add portable enet_address_set_host_ip that can properly parse broadcast addressLee Salzman
2016-06-04typo fix[email protected]
2016-02-19update copyright years[email protected]
2016-02-19return -1 instead of 0 if getnameinfo returns an error[email protected]
2015-12-30update packet flag documentationLee Salzman
2015-05-11use getaddrinfo and getnameinfo where availableLee Salzman