Autechre
4c3a4d66df
Cxx buildfixes ( #13803 )
...
* CXX_BUILD buildfixes
* (D3D11) Buildfixes for CXX_BUILD
* (Linux/qb) Disable KMS for Linux when building for C89, headers use inline which is not
available for C89
2022-03-30 17:30:20 +02:00
twinaphex
26fec17593
CXX_BUILD fixes for net_natt.c
2022-03-30 15:32:23 +02:00
Cthulhu-throwaway
023f427856
[UPnP] Stability fixes ( #13652 )
2022-02-22 08:22:10 +01:00
Cthulhu-throwaway
cd74221d33
[Networking] GetBestRoute refactor ( #13553 )
...
Refactor to support UWP.
2022-01-27 11:38:31 +01:00
Cthulhu-throwaway
c9d66eed46
(UPnP) Disable GetBestRoute for UWP ( #13517 )
...
* (UPnP) Disable GetBestRoute for the XBOX
* Macro branching to _WIN32_WINNT_WINXP
* Macro branching to __WINRT__
2022-01-20 06:12:12 +01:00
Cthulhu-throwaway
c50087efdc
(UPnP) Minor refactor ( #13510 )
...
Don't clear up the request at natt_close_port.
2022-01-18 13:03:32 +01:00
Cthulhu-throwaway
1a7e8e6628
(UPnP) Refactor ( #13503 )
...
COMMON: The common library can now be used independently by any number of features.
COMMON: The common library no longer restricts HAVE_SOCKET_LEGACY.
Netplay Task: Network interface scoring changed from byte-level to bit-level.
2022-01-17 13:46:03 +01:00
Cthulhu-throwaway
f8da64d740
(UPnP) Accept IGD v2 service types ( #13482 )
2022-01-12 15:30:16 +01:00
Cthulhu-throwaway
4cf1bcf70f
(Netplay/UPnP) Delay lobby server announcing ( #13473 )
...
Delay the announcing in order to give UPnP's port forwarding more time.
Fix the remaining truncation warnings.
2022-01-11 08:48:59 +01:00
Cthulhu-throwaway
fb2d600837
(Netplay/UPnP) Smart interface selection ( #13470 )
...
Find the most suitable address for UPnP by scoring interfaces on how close their address is to the device's address.
2022-01-10 15:52:15 +01:00
Cthulhu-throwaway
26132a2330
Netplay and NAT struct improvements ( #13416 )
...
Reordered netplay and NAT structs to follow the coding guidelines more closely.
Moved part of the chat struct out of the program's image and into the heap.
2021-12-25 13:42:22 +01:00
Cthulhu-throwaway
736ab4c964
MSVC 2005 build fix ( #13408 )
2021-12-24 14:58:18 +01:00
Cthulhu-throwaway
b67b93ebfe
Enable GetBestRoute for MSVC 2005 ( #13407 )
2021-12-24 14:15:20 +01:00
Cthulhu-throwaway
b696903162
UPnP fix for another specific router ( #13404 )
...
* UPnP fix for another specific router
Fix UPnP for a specific router device.
Also fix net_http not writing the host's port within the HTTP request.
* Quick edit
2021-12-24 11:56:51 +01:00
Cthulhu-throwaway
ec97c86756
Attempt to fix UPnP for some Windows devices ( #13402 )
...
Yet another attempt at it.
2021-12-23 23:52:01 +01:00
Cthulhu-throwaway
c6369b7861
MSVC 2005 Build Fix ( #13401 )
2021-12-23 22:08:13 +01:00
Cthulhu-throwaway
c4049b9597
NAT and netplay Fixes ( #13400 )
...
* NAT and netplay Fixes
Fix a crash when announcing your room to the internet without being in a tunnel.
Fix improper interface for UPnP for some Windows devices.
* Final edits
2021-12-23 21:28:30 +01:00
twinaphex
baa51a5a91
(net_natt.c) Put IP_MULTICAST_TTL usage behind ifdef
2021-12-09 17:52:54 +01:00
twinaphex
9ec445ab40
Define IP_MULTICAST_TTL if not defined
2021-12-09 08:45:16 +01:00
Autechre
3b1a1ac8da
Remove miniupnpc dependency ( #13340 )
...
* use custom libretro-common UPNP
* Remove miniupnpc
2021-12-09 05:52:42 +01:00
twinaphex
6f60ee9b6e
Network: Only use a single interface for UPnP
2021-12-05 03:47:48 +01:00
Autechre
fbbe351f7d
UPnP cleanups and refactorings ( #13325 )
2021-12-04 21:16:34 +01:00
Autechre
a44f5bbf78
Fix UPNP port mapping failed error - switch to a permanent lease time, ( #13324 )
...
but request it to be removed when we do netplay_free
2021-12-04 15:45:29 +01:00
Mark W. Kidd
d4fb27a7a9
implement natt fix from void()
2021-07-08 22:52:19 -04:00
twinaphex
eba83390ba
Warning fixes
2020-07-23 07:39:08 +02:00
twinaphex
cd9ca691ca
(libretro-common) Update copyright
2020-01-31 15:43:42 +01:00
orbea
28ff4b391a
Clean up white space.
2019-02-03 16:00:50 -08:00
natinusala
eac0d603f4
libnx: add network interfaces info
2018-10-12 17:37:03 +02:00
Nathan Strong
c5f9fc0a34
WiiU: fix network information
...
== DETAILS
For local netplay, it's useful to have your IP address easily
available. This commit makes the Information > Network Information
menu display the Wii U's IP address.
Change summary:
- Fix the logging init to be reentrant to avoid socket consumption
- Add implementation of POSIX `getifaddrs()` and `freeifaddrs()`
to `missing_libc_functions.c`
- Remove compiler directives protecting the code paths that call
`getifaddrs()` from being used in Wii U builds
== TESTING
Have tested locally, successfully get IP address information in
the Information > Network Information.
I think this may also fix NAT traversal. Will need to be tested.
2018-10-11 15:37:15 -07:00
lifajucejo
9be2321c02
Add networking support to libnx
2018-09-27 21:23:01 -04:00
twinaphex
768ebbfdb5
Merge commit 'ce9ce1d35387ef8144e53bf071396fa075bfb6c5' as 'libretro-common'
2018-05-12 17:56:34 +02:00
twinaphex
0548349991
Remove libretro-common
2018-05-12 17:56:14 +02:00
twinaphex
7b1ad55b20
Try to use snprintf instead of sprintf
2018-04-25 11:31:50 +02:00
twinaphex
be7eb4de1c
Update libretro-common
2018-04-16 08:57:17 +02:00
aliaspider
934f7c58ba
(WiiU) enable networking.
2017-05-23 10:24:23 +01:00
twinaphex
82c62b1693
Use stdstring in more instances
2017-04-21 13:50:24 +02:00
Jean-André Santoni
8a6e102a82
Increase UPNP compatibility
2017-02-22 23:02:17 +01:00
twinaphex
ea56249661
(net_natt.c) Free net_addrinfo before going out of scope
2017-02-22 05:24:28 +01:00
BuildTools
ac9aa4783a
Fixed a bug failing to check initialization in non-UPnP-supporting
...
setups
2017-02-21 22:02:20 -05:00
Gregor Richards
22500914e1
Fix missing memory free when IPv6 is unsupported
2017-02-21 17:42:09 -05:00
twinaphex
5576115389
Make natt_open_port a static function
2017-02-18 22:03:02 +01:00
twinaphex
64bb848daf
Update headers (pt. 2 - libretro-common)
2017-01-22 13:58:20 +01:00
Gregor Richards
65224dc2a5
NAT traversal also needs to avoid IPv6 with SOCKET_LEGACY
2016-12-10 13:58:51 -05:00
Gregor Richards
c2c2c57095
Remove support for MiniUPNPC < 2.0
2016-12-04 13:04:30 -05:00
Gregor Richards
a082df0027
More stripping out of NAT traversal for SOCKET_LEGACY
2016-12-02 13:18:35 -05:00
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