[ENet-discuss] 答复: Device discovery with private IP

Gabriel Kotev kotev.gabriel at gmail.com
Fri Feb 17 11:07:01 PST 2017

I am trying to create p2p application for all mobile devices and desktops.
The problem is that with enet I cannot get behind the NAT.
After some reading I am dropping the UPnP idea and thinking more for the
direction of UDP Punch hole and ICE protocol.
My question is, is someone achieved it and can help ?
And also for implementation of UDP Punch hole, do I need a UDP server
between the peers to send UDP packets or directly use the peers to send
each other packets until establishment of the hole in the router NAT ?

On Thu, Feb 16, 2017 at 10:51 PM, hawk hawk-eagle <hawktjj at hotmail.com>

> which device is you buy?
> ------------------------------
> *发件人:* ENet-discuss <enet-discuss-bounces at cubik.org> 代表 Gabriel Kotev <
> kotev.gabriel at gmail.com>
> *发送时间:* 2017年2月13日 1:32
> *收件人:* enet-discuss at cubik.org
> *主题:* [ENet-discuss] Device discovery with private IP
> Hi,
> I have one problem that I am facing recently.
> I am trying to do a peer-to-peer game and when I test it with private IPs
> it works perfectly, but when I try to use it outside the router it does
> work - as expected.
> My question is:
> Is there any support for discovering devices, which are behind router ?
> Something like UPnP ?
> If not, can I use some external UPnP library and to collaborate it with
> enet library ?
> Thanks you so much for helping,
> Gabriel
> _______________________________________________
> ENet-discuss mailing list
> ENet-discuss at cubik.org
> http://lists.cubik.org/mailman/listinfo/enet-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cubik.org/pipermail/enet-discuss/attachments/20170217/fdc7f421/attachment.html>

More information about the ENet-discuss mailing list