53 Commits

Author SHA1 Message Date
Cthulhu-throwaway
3aa1811ca9
(Network) Add getnameinfo_retro (#14278) 2022-08-04 13:22:49 +02:00
Cthulhu-throwaway
9b10579a54
(Network) Fix getaddrinfo_retro (#14261) 2022-07-31 11:22:28 +02:00
Cthulhu-throwaway
97e3ef6ec7
(Network/Vita) Do not multiply negative timeout values (#14217) 2022-07-25 07:55:08 +02:00
Cthulhu-throwaway
07e03c86fa
(Network/Vita) Fix epoll's timeout parameter (#14216) 2022-07-25 07:07:14 +02:00
Cthulhu-throwaway
43ad2b64b2 (Network) Replace socket_select calls 2022-06-12 02:13:34 -03:00
Cthulhu-throwaway
fed60aaee6 Wii buildfix (round 3)
Annoying preprocessor...
2022-06-10 14:34:54 -03:00
Cthulhu-throwaway
f46e41f6c4 Vita buildfix 2022-06-10 05:11:29 -03:00
Cthulhu-throwaway
d4324d9a0d (Network) poll support 2022-06-04 10:46:31 -03:00
Cthulhu-throwaway
39de84eb05 Wii buildfix 2022-05-31 06:07:57 -03:00
Cthulhu-throwaway
8f7b5a1050 (Networking) Define isinprogress function 2022-05-31 05:07:23 -03:00
Cthulhu-throwaway
400faff5ba Proper buildfix for some Windows environments 2022-05-31 01:08:45 -03:00
Cthulhu-throwaway
17b7b1322e (Netplay) Some cleaning 2022-05-30 22:02:24 -03:00
Cthulhu-throwaway
de30f212bc (Netplay) Enforce a timeout during connection 2022-05-30 05:23:39 -03:00
Vladimir Serbinenko
4a53c6771c
Several fixes and improvements do NGC and Wii (#13698)
* Support new elf2dol path in Makefile.griffin

* Fix NULL pointer dereference when no core info is available

* Fix double include of different versions of libogc

* Move ngc and wii to Makefile.common

Resulting binary is 60K *smaller*. This is surprising but probably due to
less inlining happening

* gx_gfx: Fix hang on gfx initialization

* Remove sthread_isself on NGC/Wii

It relies on pthread_equal that is not there for either legacy pthreads
or normal pthreads on those platforms

* Wii networking

* Missing includes in split

* Network fixes

* Fix logging of non-format string as a format

* Support for gx netlogger

* Network fix

* Network fixes

* Network info

* gx: Move config files to app directory

Otherwise it clashes between wiiU and vWii version with unpredictable
effects
2022-03-04 13:43:00 +01: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
CrystalCT
02c15dd4f5 Add some PSL1GHT ifdefs 2021-03-11 08:15:51 +01:00
twinaphex
870707dbe8 Remove obsolete __CELLOS_LV2__ references - use PSL1GHT instead 2020-12-19 15:32:26 +01:00
Alcaro
ac2fe3896e
Fix backwards condition in socket blocking behavior
Fixes #11557
2020-11-16 18:28:37 +01:00
Alcaro
18f46e65ea Add BearSSL support 2020-09-19 00:31:36 +02:00
twinaphex
cd9ca691ca (libretro-common) Update copyright 2020-01-31 15:43:42 +01:00
twinaphex
d4b7be4ae4 Update libretro-common 2019-10-31 01:25:27 +01: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
be7eb4de1c Update libretro-common 2018-04-16 08:57:17 +02:00
meepingsnesroms
7dbaa45172 Basic networking, bug fixes
Fix CPU count bug, make 3ds compile with networking
2017-12-28 21:49:21 -08: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
Ken
edc64991f3 Fall back to IPv4 when IPv6 connections fail 2017-07-01 08:21:09 -04:00
aliaspider
d120c9f38b change this one too. 2017-05-28 12:50:21 +01:00
aliaspider
934f7c58ba (WiiU) enable networking. 2017-05-23 10:24:23 +01:00
Twinaphex
b7b3b2cb5f Try to prevent truckload of warnings on iOS 2017-02-26 10:33:03 +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
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
f3ad815dd9 Prevent implicit memsets 2016-10-21 06:15:20 +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
aliaspider
5a80bd6b30 (VITA) build fix for latest sdk. 2016-06-05 22:01:25 +01: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
44cfa6d876 Cleanup 2016-05-02 19:04:03 +02:00
twinaphex
b25b2a0e6c Some code de-duplication 2016-05-02 18:54:55 +02:00
twinaphex
00a49d068e Implement TCP protocol for socket_create 2016-05-02 18:47:34 +02:00
twinaphex
317ecabadf (Retropad) Use socket_create 2016-05-02 18:45:05 +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
twinaphex
004d9a613c Create socket_bind 2016-05-01 22:57:44 +02:00
twinaphex
78bb85e2f3 Reuse socket_init for net_http code 2016-05-01 22:45:32 +02:00