mirror of
https://github.com/wangyu-/udp2raw.git
synced 2025-01-19 14:29:34 +08:00
Update README.md
This commit is contained in:
parent
065f4d73fa
commit
ff6f4b4005
@ -7,15 +7,15 @@ It can tunnel any traffic when used together with a UDP-based VPN(such as OpenVP
|
||||
|
||||
[简体中文](/doc/README.zh-cn.md)
|
||||
# Frequently Asked Questions
|
||||
### Q:What is the advantage of using udp2raw FakeTCP mode,Why not use OpenVPN TCP mode?
|
||||
Answer:TCP doesnt allow real-time/out-of-order delivery. If you use OpenVPN TCP mode to turn UDP traffic to TCP,there will be latency issue:the loss of a single packet blocks all following packet until re-transmission is done. This will cause unacceptable delay for gaming and voice chatting.
|
||||
### Q: What is the advantage of using udp2raw FakeTCP mode,Why not use OpenVPN TCP mode?
|
||||
Answer: TCP doesnt allow real-time/out-of-order delivery. If you use OpenVPN TCP mode to turn UDP traffic to TCP,there will be latency issue:the loss of a single packet blocks all following packet until re-transmission is done. This will cause unacceptable delay for gaming and voice chatting.
|
||||
|
||||
TCP also has re-transmission and congestion control which cant be disabled. For UDP re-transmission is usually un-necessary,bandwith will be wasted for re-transmission. UDP programs usualy want to control packet sending rate by themselves. If you use OpenVPN TCP mode this cant be done because of the congestion control of underlaying TCP protocol. Further more,with the re-transmission of underlaying TCP,if you send too many udp packets via an OpenVPN TCP connection,the connection will become completely unusable for a while(It will eventually recover as most of the re-transmission is done,but it wont be will soon).
|
||||
|
||||
For udp2raw there is no underlying TCP protocol,udp2raw just add TCP headers to UDP packets directly by using raw socket. It supports real-time/out-of-order delivery,there is no re-transmission and congestion control. It doesnt have all above issues.
|
||||
|
||||
### Q:Is udp2raw designed for replacing VPN?
|
||||
Answer:No. Udp2raw is designed for bypassing UDP restriction. It doesnt have all of the features a VPN has.
|
||||
### Q: Is udp2raw designed for replacing VPN?
|
||||
Answer: No. Udp2raw is designed for bypassing UDP restriction. It doesnt have all of the features a VPN has.
|
||||
|
||||
Instead of replacing VPN,udp2raw can be used with any UDP-base VPN together to grant it the ablity of bypassing UDP restriction. Check [this link](https://github.com/wangyu-/udp2raw-tunnel#tunneling-any-traffic-via-raw-traffic-by-using-udp2raw-openvpn) for more info.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user