We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
客户端与服务器参数一致
网络拓扑: kcptun客户端(监听:8387-tcp, 发送至本地8388-udp)->kcptun服务端(监听本地udp:8388, 下游本地:8389-tcp)
客户端: i = 0 while true: .... c.connect 本地8387 c.send(i) c.close() i += 1 break if i == 10 服务端: s.bind(("0.0.0.0", 8389)) while True: c, addr = s.accept() print c.recv(1024) c.close()
服务端打印 0 3 4 1 ... 9 8, 乱序
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
利用kcptun实现tcp转udp的功能
No branches or pull requests
客户端与服务器参数一致
网络拓扑:
kcptun客户端(监听:8387-tcp, 发送至本地8388-udp)->kcptun服务端(监听本地udp:8388, 下游本地:8389-tcp)
客户端:
i = 0
while true:
....
c.connect 本地8387
c.send(i)
c.close()
i += 1
break if i == 10
服务端:
s.bind(("0.0.0.0", 8389))
while True:
c, addr = s.accept()
print c.recv(1024)
c.close()
服务端打印 0 3 4 1 ... 9 8, 乱序
The text was updated successfully, but these errors were encountered: