how to use Relay to connect peers which are unreachable. (General questions)
Hi.
Your code looks ok, I'm not sure why disconnection occurs.
However, TCPHandler doesn't really help you connect where UDP fails, using UDP relay is much safer solution. TCP is harder to penetrate firewall if both sides are behind NAT, so I would suggest you use UDP relay for this purpose.
Jasmine.
Complete thread:
- how to use Relay to connect peers which are unreachable. - ardar, 2016-05-18, 05:54
- how to use Relay to connect peers which are unreachable. - Jasmine, 2016-05-18, 16:12
- how to use Relay to connect peers which are unreachable. - ardar, 2016-05-19, 04:38
- how to use Relay to connect peers which are unreachable. - Jasmine, 2016-05-19, 17:28
- how to use Relay to connect peers which are unreachable. - ardar, 2016-05-19, 22:40
- how to use Relay to connect peers which are unreachable. - Jasmine, 2016-05-22, 01:03
- how to use Relay to connect peers which are unreachable. - ardar, 2016-05-19, 22:40
- how to use Relay to connect peers which are unreachable. - Jasmine, 2016-05-19, 17:28
- how to use Relay to connect peers which are unreachable. - ardar, 2016-05-19, 04:38
- how to use Relay to connect peers which are unreachable. - Jasmine, 2016-05-18, 16:12