-
Notifications
You must be signed in to change notification settings - Fork 494
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add UPnP port forwarding #11
Comments
I think it would be smart to keep it modular. We can provide a best practices document for implementing Open.NAT with LiteNetLib. This leads leads to better code for both the person implementing litenetlib and the authors maintaining litenetlib. |
I wrote a Upnp solution for unity awhile back but.. I was just learning about it at the time it works with 80 percent of routers china brands have some issues.. https://hastebin.com/utimagavuc.cs here is the code maybe you can get an idea from it. |
Link not working : ( |
public static void Discover(int port, NetSocket socket) <--- Remove NetSocket socket |
thanks
…On Sun, Jul 7, 2019 at 8:08 PM Levon Ravel ***@***.***> wrote:
Link not working : (
https://pastebin.com/tYFctzdM
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#11?email_source=notifications&email_token=AKJNX52XOZDFENG57QQWYIDP6I5K3A5CNFSM4CVGTGM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZLRIVA#issuecomment-509023316>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AKJNX55DXAT4PJZWPAFT7GLP6I5K3ANCNFSM4CVGTGMQ>
.
|
I test it but always say "No network adapters with an IPv4 address in the system!". |
let me rework it a bit and repost the code. |
https://pastebin.com/wLUcLgvx took the throw out of the loop and changed the calls a bit. |
it's working good, thanks. |
your welcome. |
@RevenantX any chance you are looking to explore a full time opportunity? I'm the founder of a gaming startup, really like what you've been doing with litenetlib. We're looking to add an experienced multiplayer engineer to our team. Are you open to chatting? |
For now you can use https://github.com/lontivero/Open.NAT
The text was updated successfully, but these errors were encountered: