Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KCP有参数配置吗 #6

Closed
airx opened this issue Jul 9, 2021 · 1 comment
Closed

KCP有参数配置吗 #6

airx opened this issue Jul 9, 2021 · 1 comment

Comments

@airx
Copy link

airx commented Jul 9, 2021

需求是一个正向代理,但又需要像KCPTUN那样的kcp传输能力或fec和配置功能(跨州传输需要),不知道你这个kcp有没有kcptun那样的kcp能力或者参数配置?

@esrrhs
Copy link
Owner

esrrhs commented Jul 9, 2021

目前没有,使用的默认设置

	conn.SetStreamMode(true)
	conn.SetWindowSize(10000, 10000)
	conn.SetReadBuffer(16 * 1024 * 1024)
	conn.SetWriteBuffer(16 * 1024 * 1024)
	conn.SetNoDelay(0, 100, 1, 1)
	conn.SetMtu(500)
	conn.SetACKNoDelay(false)

@esrrhs esrrhs closed this as completed Jul 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants