Commit graph

181 commits

Author SHA1 Message Date
Lee Salzman
5f05025ee1 note about enet_host_bandwidth_throttle optimizations 2013-05-11 21:58:27 +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
2bb83d9813 check for MS C compiler before using pragmas 2013-05-11 18:56:20 +03:00
Lee Salzman
7dc0189ffb handle EINTR in enet_socket_wait 2013-05-10 17:49:44 +03:00
Lee Salzman
5d76b92c54 explicitly include sys/socket.h 2013-05-09 15:19:44 +03:00
Lee Salzman
bd4e5035bc move MSG_MAXIOVLEN check out of configure.ac 2013-05-09 15:04:01 +03:00
lsalzman
71d6d63ed8 remove some more looping in enet_host_bandwidth_throttle 2013-05-08 11:02:13 +03:00
lsalzman
30d859f9a4 avoid some looping in enet_host_bandwidth_throttle 2013-05-08 10:46:17 +03:00
lsalzman
27d41dd2ae add enet_linked_version() for querying linked version 2013-05-07 10:11:22 +03:00
Lee Salzman
ff4e2cab30 check for _WIN32 instead of WIN32 2013-04-07 07:11:12 +03:00
lsalzman
03c0de167c add clang check 2013-04-03 10:30:41 +03:00
Lee Salzman
714f40319a set unused reliable sequence number field for acks to sane value 2013-03-23 17:22:32 +02:00
Lee Salzman
bf8187f265 changelog note about enet_socket_get_address 2013-03-20 00:49:49 +02:00
Lee Salzman
bc81ba716f Merge branch 'master' of github.com:lsalzman/enet 2013-03-20 00:44:14 +02:00
Lee Salzman
726ff6bc6d query the socket name if an explicit address binding is requested on host creation 2013-03-20 00:43:34 +02:00
lsalzman
db685c3d4f only use perror if ENET_DEBUG defined 2013-03-19 11:26:54 +02:00
lsalzman
eb7126c662 ENet 1.3.7 release prep 2013-03-06 17:10:59 +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
8ff344897a added userData field to ENetPacket 2013-01-19 16:39:34 +02:00
Lee Salzman
5ff8ccb74f updating changelog 2013-01-07 21:18:35 +02:00
Lee Salzman
9185dc80bc state handling cleanups 2013-01-07 20:46:31 +02:00
Lee Salzman
2e708e5908 Merge branch 'master' of github.com:lsalzman/enet 2012-12-14 05:10:44 +02:00
Lee Salzman
65f71f82b8 use timeGetTime() for random seed instead of time() on windows 2012-12-14 05:10:13 +02:00
lsalzman
d7c0ce8240 fix patch version to 6 (1.3.6) 2012-12-13 12:57:01 +02:00
Lee Salzman
2c413b2353 ENet 1.3.6 release preparation 2012-12-11 13:20:50 +02:00
lsalzman
c74ac8b844 forward declare some structs to fix compile errors 2012-10-03 16:26:18 +03:00
lsalzman
77cc156305 initialize intercept callback to NULL 2012-10-02 14:01:12 +03:00
lsalzman
2d979ceb51 intercept callback support 2012-10-02 13:33:07 +03:00
Lee Salzman
9dff8f72cf EWOULDBLOCK -> WSAEWOULDBLOCK 2012-09-26 14:06:58 +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
lsalzman
0fd4c9389b set some defaults for apple builds without configure script 2012-09-11 09:57:49 +03:00
Lee Salzman
71b7550049 treat destroying NULL as no-op 2012-09-11 02:28:50 +03:00
Lee Salzman
be852c5d8b 1.3.5 release preparation 2012-07-31 16:15:38 +03:00
Lee Salzman
f6160fd2e9 case warning fixes 2012-07-31 16:12:11 +03:00
Lee Salzman
158955c86b unreliable fragment queuing fixes 2012-07-31 16:10:40 +03:00
lsalzman
22f1236079 mingw time workaround 2012-05-30 10:34:14 -07:00
lsalzman
2800fd4e0e updated copyright date 2012-05-29 20:27:16 -07:00
lsalzman
ea8faf3579 added per-peer configurable ping interval and timeouts
1.3.4 release prep
2012-05-29 19:05:34 -07:00
Lee Salzman
fb55c5d7c3 CVS -> github 2012-05-05 07:51:29 +03:00
Lee Salzman
78e828b80e github migration note 2012-05-05 07:48:43 +03:00
eihrul
5018dcf207 added support for setting tcp send/receive timeouts 2012-02-18 10:31:56 +00: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
e96c668702 zero out host memory on creation 2011-12-08 14:20:54 +00:00
eihrul
d4768414eb include fix 2011-11-28 21:37:24 +00:00
eihrul
93ceb9d2be enet_crc32 is ENET_API 2011-08-21 07:44:57 +00:00
eihrul
ee869ab08a enet 1.3.3 release prep 2011-06-28 15:34:32 +00:00
eihrul
7691ccc318 fixed bug with simultaneous disconnects not dispatching events 2011-06-28 15:25:53 +00:00