73 Commits

Author SHA1 Message Date
Jamiras
5ac432026a add helper function for accessing connection method 2021-07-27 21:02:14 -06:00
Ash Logan
e5553bde4e wiiu: Network optimisations - WINSCALE, TCP sACK, large buffers
See code sample in https://github.com/devkitPro/wut/issues/169 and 
2430789406/src/net.c (L88)
2021-07-18 21:02:56 +10:00
Mark W. Kidd
d4fb27a7a9 implement natt fix from void() 2021-07-08 22:52:19 -04:00
CrystalCT
3bafc82305 Add some PSL1GHT ifdefs 2021-03-08 13:09:43 +01:00
twinaphex
870707dbe8 Remove obsolete __CELLOS_LV2__ references - use PSL1GHT instead 2020-12-19 15:32:26 +01:00
Alcaro
18f46e65ea Add BearSSL support 2020-09-19 00:31:36 +02:00
MrHuu
e519ccd0be (3DS) Enable basic networking / cheevos 2020-05-08 20:50:15 +02:00
twinaphex
cd9ca691ca (libretro-common) Update copyright 2020-01-31 15:43:42 +01:00
Jamiras
67e9fba9d7 generate User-Agent for retroachievement API calls 2019-11-02 21:52:30 -06:00
orbea
bfc366decc Squeeze extra blank lines with cat(1).
Example:

find . -type f -iname '*.c' | while read -r i; do
  cat -s "$i" > "$i.new"
  mv "$i.new" "$i"
done
2019-01-08 11:04:58 -08: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
radius
c52fdc469f remove task_push_http_transfer_raw, encode before sending data to the task 2018-03-16 22:38:21 -05:00
Twinaphex
5eb6c5dae9
Merge pull request #5936 from clienthax/ps3res
More ps3 networking fixs.
2017-12-19 23:02:14 +01:00
clienthax
73aa381b27 More ps3 networking fixs. 2017-12-19 21:39:22 +00:00
gblues
6904101c44 Clean up trailing whitespace
== DETAILS

Really simple code cleanup, because my editor flags trailing whitespaces
and it's pretty annoying.
2017-12-12 00:24:18 -08:00
Brad Parker
02381aabef add SSL/TLS support 2017-07-26 09:18:17 -04:00
Ken
edc64991f3 Fall back to IPv4 when IPv6 connections fail 2017-07-01 08:21:09 -04:00
aliaspider
5a92ec15cf (WiiU) fix netplay. 2017-05-26 12:32:45 +01:00
twinaphex
3ae54e0eed Move send_udp_packet to libretro-common 2017-05-20 14:28:18 +02:00
twinaphex
be22290495 Rename to inet_ntop_compat 2017-05-17 07:00:47 +02:00
radius
2f1c3fb437 add inet_ntop 2017-05-16 22:21:36 -05:00
twinaphex
3996dc4b79 Update libretro-common 2017-03-26 05:07:48 +02:00
Brad Parker
ad6733b519 add full urlencoder and encode lobby announcement POST data 2017-03-05 14:19:36 -05:00
Brad Parker
c31823aa94 add HTTP POST support 2017-03-05 14:19:34 -05:00
twinaphex
5576115389 Make natt_open_port a static function 2017-02-18 22:03:02 +01:00
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
Gregor Richards
900e5a79ec Use nonblocking sockets for Netplay to avoid some stalls. 2016-12-18 19:28:38 -05: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
42da0a0184 NAT traversal in Netplay
For the time being, if NAT traversal is successful it simply announces
it as an OSD message. In the future it will be used to inform a
matchmaking server of the public port.

This patch also included minor fixes to the NAT traversal implementation
to make the select it demands actually doable.
2016-11-29 22:59:46 -05:00
Gregor Richards
8f61e2b978 Spacing correction (three spaces, not four) 2016-11-29 21:16:04 -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
aliaspider
5a80bd6b30 (VITA) build fix for latest sdk. 2016-06-05 22:01:25 +01:00
twinaphex
87b83ecf56 (RetroPad) Use socket_set_target 2016-05-09 06:40:51 +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
dbd56997f4 Changes to getaddrinfo_retro 2016-05-02 19:30:12 +02:00
twinaphex
00a49d068e Implement TCP protocol for socket_create 2016-05-02 18:47:34 +02:00
twinaphex
18f8ded154 Flesh out socket_create some more 2016-05-02 18:42:13 +02:00
twinaphex
62508eca77 Create socket_create 2016-05-02 18:37:08 +02:00
twinaphex
31f3fc0abb Create socket_receive_all_nonblocking 2016-05-02 02:09:22 +02:00
twinaphex
2e1fa648b8 Create socket_connect 2016-05-01 23:45:59 +02:00
twinaphex
bd9dd06ddd Get rid of duplicate function net_http_send 2016-05-01 23:17:17 +02:00