<div dir="auto"><br></div><div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)" dir="auto">
I am attaching a demo that shows it works beautifully.</blockquote><div dir="auto">yYes it does!! Thank you, tested it and I could get two clients, each behind their own NAT, to send and receive data via UDP. </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)" dir="auto"><br>
One more thing to pay attention to!<br>
Need to occasionally communicate minimally with the server, otherwise it may lose connection<br>
</blockquote><div dir="auto"><br></div><div dir="auto">Let me see if I understand exactly what’s happening here. </div><div dir="auto"><br></div><div dir="auto">A public server is running udp01. That is always available and can be contacted by anyone who initiates a connection.</div><div dir="auto"><br></div><div dir="auto">When client A and B both connect to the server, your program connects them together and that established the path that all further UDP traffic between A and B will flow.</div><div dir="auto"><br></div><div dir="auto">To ensure the path remains open, A and B need to contact the server once a minute or so…</div><div dir="auto"><br></div><div dir="auto">Is that essentially correct?</div><div dir="auto"><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)" dir="auto"></blockquote><div dir="auto"><br></div><div dir="auto">Now for my next question. Is it possible to do the same for tcp?</div><div dir="auto"><br></div><div dir="auto">John</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)" dir="auto"><br></blockquote></div></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Sent from Gmail Mobile</div>