Open gitkeidy opened 7 years ago
Yeah, it's not easy to connect two hosts behind Symmetric NAT. If you read the paper I mentioned in README, this method is to punch many holes on one side, then wish other side can run into one hole, so the success rate is low.
me too
Sorry, dude, I'm busy these day. I'll try to improve success rate later.
i have read the paper and your implemented code, i found some about how to deal variety of mapping port rule in Symmetric NAT is so unclear, example : incremental algorithm NAT VS randomly algorith NAT . Just you saying, two side are looked like randomly punch, so the success rate is low.
Improvement : I think its better to add heart beat function where client will send keep alive messages continuously to server
'time out, not connected' I try to connect two hosts behind Symmetric NAT, but failed.