aliaspider
9348369824
(Wii) buildfix for HAVE_NETWORKING=1.
2017-01-23 23:27:08 +01:00
twinaphex
64bb848daf
Update headers (pt. 2 - libretro-common)
2017-01-22 13:58:20 +01:00
twinaphex
7931436f5b
Apply xerpi diff
2017-01-17 18:12:23 +01:00
Brad Parker
e1f4db8081
Win2000 buildfixes
2017-01-16 20:41:08 -05:00
Alcaro
f95759c39b
No need for those casts
2017-01-02 02:11:30 +01:00
twinaphex
dae80e4e26
(MSVC) Buildfixes
2017-01-02 01:41:00 +01:00
twinaphex
43459e2269
N/A
2016-12-26 06:44:04 +01:00
Gregor Richards
a6cd8c3aa1
Error reporting when a password is refused, plus a bugfix so that
...
socket_receive_all_nonblocking actually reports disconnects.
2016-12-18 19:28:43 -05:00
Gregor Richards
900e5a79ec
Use nonblocking sockets for Netplay to avoid some stalls.
2016-12-18 19:28:38 -05:00
twinaphex
feae0823ce
Prevent some implicit memsets
2016-12-17 14:40:06 +01:00
twinaphex
c739ca016c
Add net_http_parse
2016-12-17 00:46:23 +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
Twinaphex
bb499b70be
Merge pull request #4104 from GregorR/natt
...
NAT traversal
2016-11-30 16:09:53 +01:00
Gregor Richards
b3ababce9a
Fix Netplay IPv6 support
2016-11-30 00:25:16 -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
twinaphex
f3ad815dd9
Prevent implicit memsets
2016-10-21 06:15:20 +02:00
twinaphex
d82055bc04
(libretro-common) net_compat.c - cleanup
2016-10-09 10:04:02 +02:00
twinaphex
481ebced22
Prevent implicit memsets
2016-10-09 09:56:03 +02:00
twinaphex
17ded1a9ac
Move net/test to samples/net/test
2016-09-29 21:27:26 +02:00
Gregor Richards
b0672e47ae
Fix socket_send_all_blocking to fail on errors not related to blocking
2016-09-21 14:01:25 -04:00
twinaphex
f395e851c4
Use stdstring.h
2016-09-16 17:25:47 +02:00
twinaphex
465d17a6e2
(libretro-common) Update files
2016-08-24 01:45:59 +02:00
aliaspider
5a80bd6b30
(VITA) build fix for latest sdk.
2016-06-05 22:01:25 +01:00
twinaphex
d5d2f7f8ee
Fix resource leaks
2016-05-23 22:17:28 +02:00
twinaphex
974d3245d2
Fix logically dead code warnings
2016-05-23 22:04:00 +02:00
twinaphex
0d833c903a
Merge remote-tracking branch 'origin/vulkan-windows'
2016-05-16 07:51:01 +02:00
twinaphex
3f3adf0c0e
Add return value for inet_aton
2016-05-09 02:50:02 +02:00
twinaphex
510c804781
(Win32) Provide inet_aton implementation
2016-05-08 19:12:01 +02:00
twinaphex
4791c37039
(Vita) Reimplement inet_ptrton for Vita
2016-05-08 18:09:03 +02:00
twinaphex
e2090dc02d
Vita doesn't support inet_pton either
2016-05-08 16:13:55 +02:00
twinaphex
11ec23bc18
Create inet_ptrton
2016-05-08 15:41:34 +02:00
twinaphex
2f6baffe45
Expand net_socket.c
2016-05-08 07:24:10 +02:00
twinaphex
f60676f43e
Create inet_htons
2016-05-03 04:35:51 +02:00
twinaphex
35b7d0423f
init_network - fix some codepaths
2016-05-03 04:28:58 +02:00
twinaphex
fd2096f3dc
Cleanups
2016-05-03 04:26:18 +02:00
twinaphex
2eb4571290
Move this code to net_compat.c
2016-05-02 19:44:12 +02:00
twinaphex
dbd56997f4
Changes to getaddrinfo_retro
2016-05-02 19:30:12 +02:00
twinaphex
44cfa6d876
Cleanup
2016-05-02 19:04:03 +02:00