Lee Salzman
b4c427059a
clamp roundTripTime
2020-04-03 03:48:38 -04:00
Lee Salzman
6537dc81f3
make RTT calculations more TCP-like (contributed by Vladimir 'virtul' Ivannikov)
2020-03-03 15:34:06 -05:00
Lee Salzman
b8713bdf88
delay handling of DISCONNECT_LATER until in-flight unreliable packets are sent
2019-01-27 14:46:45 -05:00
lsalzman@gmail.com
7c27a5d5f8
fix window wrap check when sending reliable outgoing commands
2015-03-12 16:25:26 -07:00
lsalzman@gmail.com
9b06a12e71
handle case in bandwidth limit protocol where either incoming or outgoing limits are disabled, but not both
2015-03-09 11:54:01 -07:00
Lee Salzman
6ef4e7d277
limit number of packets that can be received per iteration of protocol loop
2014-09-29 15:49:34 +03:00
Lee Salzman
518144338d
fix maximumWaitingData handling to allow acknowledgements when the packet already exists
2014-04-14 21:21:21 +03:00
Lee Salzman
ea8d41f65c
added maximumPacketSize and maximumWaitingData fields for limiting peer buffer space
2014-04-14 19:11:44 +03:00
lsalzman
5721b667f2
avoid an enet_time_get call when timeout expires
2014-02-21 11:20:20 +02:00
lsalzman
84a4ac70ab
handle disconnects in connecting state
2013-11-27 16:33:09 +02:00
Lee Salzman
d45b44f2b5
allow loopback connections
2013-11-17 20:19:17 +02:00
Lee Salzman
4d7b80152b
small fix for duplicate peers
2013-08-18 17:20:17 +03:00
lsalzman
1658cf3a95
stub out enet_host_random_seed()
2013-08-09 09:41:57 +03:00
Lee Salzman
2d2440053d
typo fix
2013-05-12 11:04:00 +03:00
Lee Salzman
69b98608e5
track the number of connected peers to make throttling a bit cheaper
2013-05-11 21:53:55 +03:00
Lee Salzman
7dc0189ffb
handle EINTR in enet_socket_wait
2013-05-10 17:49:44 +03:00
Lee Salzman
714f40319a
set unused reliable sequence number field for acks to sane value
2013-03-23 17:22:32 +02:00
lsalzman
db685c3d4f
only use perror if ENET_DEBUG defined
2013-03-19 11:26:54 +02:00
lsalzman
4ce4aac149
added ENET_PACKET_FLAG_SENT to indicate that a packet has been sent
2013-02-27 16:29:22 +02:00
Lee Salzman
9185dc80bc
state handling cleanups
2013-01-07 20:46:31 +02:00
lsalzman
2d979ceb51
intercept callback support
2012-10-02 13:33:07 +03:00
Lee Salzman
0e0ace781b
merging some things from Ryan C. Gordon (icculus):
...
enet_socket_connect() shouldn't fail with non-blocking sockets.
Removed unused variable.
Sanity check for possible NULL dereference reported by clang's static…analysis.
Added an interface to shutdown().
Fixed typo in the comments.
2012-09-18 16:38:10 +03:00
Lee Salzman
74d4c4a88f
fix serialization of mtu in verify connect packet
2012-09-18 15:29:11 +03:00
Lee Salzman
f6160fd2e9
case warning fixes
2012-07-31 16:12:11 +03:00
lsalzman
ea8faf3579
added per-peer configurable ping interval and timeouts
...
1.3.4 release prep
2012-05-29 19:05:34 -07:00
eihrul
78222dc79e
sanity checks
2012-01-06 15:11:04 +00:00
eihrul
27d8c07142
only bail out of sending on a timeout if there really is an event to dispatch
2012-01-05 04:12:46 +00:00
eihrul
70d0d8f25d
warning workarounds
2011-12-31 12:37:26 +00:00
eihrul
7691ccc318
fixed bug with simultaneous disconnects not dispatching events
2011-06-28 15:25:53 +00:00
eihrul
cfb05d051b
unreliable fragment fixes
2011-05-31 09:44:09 +00:00
eihrul
f38c177db0
support for ENET_PACKET_FLAG_UNRELIABLE_FRAGMENT
...
1.3.2 release prep
2011-05-31 07:48:27 +00:00
eihrul
33e2fc6201
check received port
2011-05-30 19:00:26 +00:00
eihrul
c77495463b
fix bug with tracking reliable data in transit
2011-01-31 08:27:39 +00:00
eihrul
5258b40640
fixed bug where low reliable window stops pings from getting through
2011-01-31 06:17:58 +00:00
eihrul
1e18fd6001
reliable packet throttle tweak
2010-12-20 10:46:57 +00:00
eihrul
572636062e
1.3.0 import
2010-06-09 21:16:23 +00:00
eihrul
2d985dba91
fragment dispatching fix
2010-06-05 20:31:31 +00:00
eihrul
e49aaf7a6f
checksum is now a run-time option
2010-05-20 16:55:27 +00:00
eihrul
72525fbca1
added totalSentData, totalSentPackets, totalReceivedData, totalReceivedPackets
2010-05-14 23:41:14 +00:00
eihrul
c5189c090f
added enet_host_channel_limit
2010-05-14 18:20:20 +00:00
eihrul
29cbf82230
use dispatch queues to cut down on array crawling costs
2010-05-13 16:55:59 +00:00
eihrul
25c8948745
ensure fragment outgoing commands are allocated atomically with respect to failure
2010-05-06 13:44:47 +00:00
eihrul
41ccbd2f3f
propagate malloc failure
2010-05-05 23:37:06 +00:00
eihrul
08836d86b3
duplicated disconnect packet fixes
2008-07-30 09:31:29 +00:00
eihrul
0a373938f7
*** empty log message ***
2008-01-09 14:03:32 +00:00
eihrul
e40ad2da44
*** empty log message ***
2007-11-16 20:29:49 +00:00
eihrul
d5db0aaf3e
*** empty log message ***
2007-10-21 20:18:58 +00:00
eihrul
890e98d6a0
*** empty log message ***
2007-10-14 02:09:03 +00:00
eihrul
fbce3beafe
*** empty log message ***
2007-10-12 23:10:28 +00:00
eihrul
88dd1dc19e
*** empty log message ***
2007-10-12 19:17:09 +00:00