Commit Graph

37 Commits

Author SHA1 Message Date
Alan-yly
49bea97d33 添加IKCP_FASTACK_CONSERVE宏 避免多次触发快重传 2024-04-09 14:01:35 +08:00
skywind3000
f2aa30ea21 ikcp_send 返回成功发送的字节数,-1 为错误,-2 为 EAGAIN 2023-05-07 13:49:56 +08:00
skywind3000
c0cb6ab3ac 修复流模式相关 buffer 问题 2023-05-07 12:54:02 +08:00
shixiongfei
ce02fbd433
fixed: msvc compile warning 2020-09-16 14:27:40 +08:00
skywind3000
38e0c9366e take care of strict aliasing 2020-04-24 17:05:43 +08:00
skywind3000
700e2a8161 Merge remote-tracking branch 'remotes/origin/master' 2020-03-26 19:29:51 +08:00
skywind3000
9158f84781 update rto calculation 2020-03-26 19:28:17 +08:00
skywind3000
cbf46fa1e9 fixed: window recovery is unefficient (by @dearplain) 2020-02-23 00:04:57 +08:00
skywind3000
d003f99119 fixed: window recovery is unefficient (by @dearplain) 2020-02-22 23:59:10 +08:00
skywind3000
cf683713cb fixed: incorrect log channel 2020-01-20 16:24:16 +08:00
halx99
e47e22b583 fix warnings. 2019-11-11 21:53:04 +08:00
skywind3000
a5d82ca1cb new: IKCP_FASTACK_LIMIT 2019-08-05 16:56:32 +08:00
skywind3000
3a9196b1b7 new: IKCP_FASTACK_CONSERVE 2019-08-05 16:13:56 +08:00
skywind3000
a4b6748cb5 new: meet armv7 bus alignment requirements
fixed: ambiguous variable names.
2019-07-23 14:20:31 +08:00
skywind3000
19dbf3af05 remove warnings 2019-06-19 20:40:25 +08:00
tanjunliang
3580539e0f fixed the crash issue when len is minus caused by invalid data. 2018-11-01 10:26:54 +08:00
skywind3000
6bd172c48d change hardcode number to const 2018-03-24 13:47:57 +08:00
skywind3000
a964c01fa6 fixed: https://github.com/skywind3000/kcp/issues/140 2018-03-24 13:37:48 +08:00
skywind3000
36c5a368de remove unused code, remove warning 2017-06-13 22:52:36 +08:00
xtaci
34d75bcda6 change clock granularity(G) to kcp->interval 2017-02-05 15:08:46 +08:00
xiaocheng
9ceb65a664 使用宏定义而不是 magic number 2017-02-02 12:10:00 +08:00
skywind3000
3befca7f98 cut long lines to short lines within 78 characters, add ikcp_getconv 2016-09-12 12:23:14 +08:00
U2FsdGVkX1
abf9ce1464 新增ikcp_setoutput函数 2016-09-10 20:02:36 +08:00
skywind3000
0cdfb61941 optimize ikcp_send for stream mode 2016-07-26 11:27:13 +08:00
skywind3000
f14622a495 add stream mode 2016-07-25 20:04:17 +08:00
skywind3000
3806c95073 improve performance & optimize fast-ack 2016-06-03 20:28:21 +08:00
Linwei
aec1aa6ef1 Merge pull request #20 from xtaci/master
修改deadlink的默认值为 20
2016-05-06 21:50:19 +08:00
Daniel Fu
812b4fdb12 Update ikcp.c 2016-05-06 18:20:54 +08:00
gyf19
1afffd763d retrun error code 2016-04-21 20:39:32 +08:00
skywind3000
c6d74fbdc2 commit kcp 2015-09-02 17:01:41 +08:00
skywind3000
b3c3a19132 optimize flush 2015-09-02 16:58:35 +08:00
skywind3000
879bc236ef fixed some issue 2015-09-02 16:56:03 +08:00
skywind3000
695e44711f fixed: message size of ack/una/winprobe could exceed mtu by 24 bytes 2015-02-21 02:33:46 +08:00
skywind3000
48c759ccd8 new document 2014-12-30 22:31:53 +08:00
skywind3000
c5a877d2aa new comment 2014-12-30 10:48:21 +08:00
skywind3000
d353c1afc2 new comment 2014-12-29 00:43:25 +08:00
skywind3000
09e1a3495d immigrant from my original project http://code.google.com/p/ikcp 2014-12-27 00:49:40 +08:00