Gregor Richards
8dc9c64297
Yet another pre-2.0 fix for MiniUPNPC (if we have more problems I'll
...
just drop support for pre-2.0)
2016-12-01 09:39:41 -05:00
Gregor Richards
a0ac7e6a68
Make net_ifinfo's allocation behavior simpler and clearer
2016-11-30 19:57:18 -05:00
Gregor Richards
4ad1aa7eff
Don't double-free net_ifinfo structure.
2016-11-30 19:21:33 -05:00
Gregor Richards
ef65f6c57a
Support for both MiniUPNPC 2.0 and MiniUPNPC < 2.0
...
MiniUPNPC 2.0 was a backwards-incompatible change (as .0s tend to be)
but configure detects them the same. This adds support for the changed
functions.
2016-11-30 10:48:11 -05:00
Gregor Richards
b1f9ef6073
Since I've allocated net_ifinfo, I'd better free it in all returns
2016-11-29 23:31:35 -05:00
Gregor Richards
8e5e760773
Remove accidentally-left debug printf
2016-11-29 23:30:12 -05:00
Gregor Richards
2522f68870
C++ fixes
2016-11-29 23:10:19 -05:00
Gregor Richards
025993231f
Use net_ifinfo how it's intended (?) to be used
2016-11-29 23:08:48 -05:00
Gregor Richards
c342c103ae
Always get numeric host/ports instead of names.
2016-11-29 23:08:26 -05:00
Gregor Richards
da406c3abb
Adding copyright headers and support for specifying protocol (TCP/UDP)
2016-11-29 21:09:47 -05:00
Gregor Richards
65355994b3
NAT traversal
...
Adding NAT traveral interface to libretro-common, with (currently) a
backend support MiniUPNPC. Sensible future backends would be libupnp and
a direct implementation of PCP/NAT-PMP.
2016-11-29 21:00:53 -05:00