<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Miniupnpc lib and a simple stun server and NAT punch through should
take no longer than a half an afternoon.<br>
<br>
tricky ;)<br>
<br>
Heres the lib i was referring to.<br>
<a href="http://miniupnp.free.fr/">http://miniupnp.free.fr/</a><br>
<br>
On 5/3/2011 12:34 AM, Chris Meub wrote:
<blockquote
cite="mid:BANLkTin5_CL_9EESi+cwtAZ2BUL+-79pYA@mail.gmail.com"
type="cite">I am by no means an expert on the subject, but I am
using a really basic form of NAT punch-through with Enet at the
moment with a hobby project. I have 2 clients, one at home behind
a consumer router, and 1 at the office behind a firewall. Both
connect to a central server, and begin transmitting packets to the
server. The server collates the packets into simulation step
packets, and sends those back to each client. This system works
fine and I've had no issues with our firewall or any routers.
<div>
<br>
</div>
<div>Now I imagine if you wanted to get rid of the central server,
that would be another story. You would probably have to still
use a central server for matchmaking and then do some trickery
to figure out which IP+port each peer needed to start sending
packets to in order to bypass the firewall(s). But I imagine one
could still do that with Enet.</div>
<div><br>
</div>
<div>The only other thing I can think of would be some kind of
brute force library that randomly tries ports until it finds one
that can get through the firewall. Is that what RakNet provides?</div>
<div><br>
<div class="gmail_quote">On Mon, May 2, 2011 at 1:32 PM, Josh
Klint <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:jklint@leadwerks.com">jklint@leadwerks.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal">Hi,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">A search for enet and NAT
punch-through yields a lot of questions about whether
this is possible and discussion of how it might be
done, but I have never found an actual instance of
working code, or anyone who claims to have
successfully implemented NAT punch-through with enet.<br>
<br>
I love the simplicity of enet, but without NAT
punch-through support, I don't see how it is useful
for networked software. I’ll have to (unfortunately)
go with RakNet, which is huge, bloated, and comes with
licensing hang-ups I have to pass on to my customers.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Best Regards,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Josh Klint</p>
<p class="MsoNormal">CEO</p>
<p class="MsoNormal">Leadwerks Software</p>
<p class="MsoNormal"> </p>
</div>
</div>
<br>
_______________________________________________<br>
ENet-discuss mailing list<br>
<a moz-do-not-send="true"
href="mailto:ENet-discuss@cubik.org">ENet-discuss@cubik.org</a><br>
<a moz-do-not-send="true"
href="http://lists.cubik.org/mailman/listinfo/enet-discuss"
target="_blank">http://lists.cubik.org/mailman/listinfo/enet-discuss</a><br>
<br>
</blockquote>
</div>
<br>
</div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
ENet-discuss mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ENet-discuss@cubik.org">ENet-discuss@cubik.org</a>
<a class="moz-txt-link-freetext" href="http://lists.cubik.org/mailman/listinfo/enet-discuss">http://lists.cubik.org/mailman/listinfo/enet-discuss</a>
</pre>
</blockquote>
<br>
</body>
</html>