-
-
Notifications
You must be signed in to change notification settings - Fork 13.3k
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
protocol=kcp 参数的意义是什么? #1010
Comments
让服务器和客户端之间用udp端口走kcp流量 |
那么如果说我想达到“利用kcp加速服务器与客户端之间的连接”这个效果,这里的type我要如何填写?写UDP么?【我的服务本身是tcp协议】 |
kcp协议只能用在服务端与客户端之间(我没记错的话),服务端与个人PC之间(你自己电脑)只能使用TCP或者udp协议,也就是frpc.ini的[...]里代理的服务不能有kcp,如果这里有kcp协议,个人PC也得有相应的kcp解释两者才能通信,但实际上没有,所以自己的服务继续写tcp,frpc.ini的common写protocol = kcp,frps.ini里common写kcp_bind_port=port_num(可以和原本的端口号一致) |
根据代码理解。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
在
frpc.ini
中设置了protocol=kcp
但是在范围端口映射时,如果:
会报错。
也就是说端口映射的类型只能写tcp/udp,那么protocol=kcp 究竟有什么用?
The text was updated successfully, but these errors were encountered: