crystalct
0fe92cc954
PSL1GHT fix http download ( #14994 )
2023-02-19 18:07:01 +01:00
LibretroAdmin
78ffb973b1
Add WIIU ifdef for socket_connect_with_timeout and revert ( #14503 )
...
else default codepath
2022-10-10 18:04:05 +02:00
gblues
714878783a
Fix socket_connect_with_timeout for WIIU ( #14483 )
...
== DETAILS
Previous work to clean up the HTTP networking code surfaced a bug
in `socket_connect_with_timeout()` that caused connections to
immediately fail. Specifically, achievements stopped working because
the http task code path was rewritten to use
`socket_connect_with_timeout` instead of `socket_connect`.
The bug appears to come down to an unsupported socket option. The final
check is to try to read `SO_ERROR` from the socket, and on WIIU the
`getsockopt()` call returns -1 and sets `lastsocketerr()` (WIIU's
equivalent to errno) to 16.
The fix is to change the logic to only abort the connection if that
`getsockopt()` call succeeds *and* the error is set.
2022-10-06 17:01:19 +02:00
MrHuu
a878bd3f95
(Network) Adapt POLL for 3DS platform ( #14431 )
2022-09-25 17:15:56 +02:00
MrHuu
dbba69a2d1
(Network) Check connect errno for successful connection ( #14420 )
2022-09-18 01:15:09 +02:00
MrHuu
b88c297f8e
(Network) Don't call getsockopt on 3DS platform ( #14389 )
2022-09-06 01:51:15 +02:00
Cthulhu-throwaway
e45958b25a
(Network) Get rid of the timeout_enable parameter for socket_connect ( #14351 )
2022-08-25 04:40:19 +02:00
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