Add platform support for the 3DS

Prevent wildcard port binding on the 3DS
Add 3DS threading logic
Add 3DS socket logic
Bump the connection timeout to 60s for the 3DS
This commit is contained in:
zoey jodon
2024-01-16 10:41:00 -05:00
committed by Cameron Gutman
parent 2597b5e779
commit c104a97fa0
6 changed files with 125 additions and 26 deletions

View File

@@ -2,6 +2,15 @@
#include "Limelight.h"
#include "Platform.h"
#ifdef __3DS__
#include <netinet/in.h>
#ifdef AF_INET6
#undef AF_INET6
#endif
extern in_port_t n3ds_udp_port;
#endif
#ifdef _WIN32
#define WIN32_LEAN_AND_MEAN