FAQ
This is an approach which is only partly useful when dealing with
connectionless protocols like UDP.
NAT routers can be a pain in the behind to get through. Most UDP software
uses a technique called 'NAT punch-through'[*] for this purpose. The remote
intermediary/server mentioned by Steve is only part of the solution here.

Some related reading on the subject:
http://www.mindcontrol.org/~hplus/nat-punch.html


*) NAT punch-through is only necessary for peers using IPv4 addresses. IPv6
has no such problems.

On Monday, October 8, 2012 10:41:54 PM UTC+2, Steve McCoy wrote:

Clients can get other clients' IP addresses from a server with a known
address, which all clients connect to.

On Monday, October 8, 2012 4:33:45 PM UTC-4, ISockGo wrote:

Hi,
Can one suggest the best way to communicate and transfer data over
peer to peer connections?* And how to create for peer to peer
sockets. Specially when clients don't have public ip.*
*
*
Like Skype and flash does.

Thanks,
Chuck
--

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 6 of 12 | next ›
Discussion Overview
groupgolang-nuts @
categoriesgo
postedOct 8, '12 at 8:32p
activeMay 15, '14 at 5:37p
posts12
users9
websitegolang.org

People

Translate

site design / logo © 2021 Grokbase