| ▲ | klabb3 21 hours ago | |||||||
Maybe success rates are higher with UDP – I don’t know. But it certainly works to hole punch with TCP as well. If you’re lucky you can even run into a rare condition called ”TCP simultaneous open”, where both sides believe they are the dialer. | ||||||||
| ▲ | embedding-shape 21 hours ago | parent | next [-] | |||||||
> where both sides believe they are the dialer. First time I've heard about this, and went looking for more. Came across https://news.ycombinator.com/item?id=5969030 (95 points - July 1, 2013 - 49 comments) that had bunch of background info + useful discussions. | ||||||||
| ▲ | api 21 hours ago | parent | prev [-] | |||||||
It can be done, but it's less reliable and also requires the ability to forge packets that is not allowed on all platforms. So it's hard to use in any production application if you want it to run in user space, on Windows, or on mobile. | ||||||||
| ||||||||