From 1e108ad7fba0a7a84ec24d436203eeccde8163c3 Mon Sep 17 00:00:00 2001 From: Arisotura Date: Mon, 4 Mar 2019 20:52:29 +0100 Subject: [PATCH] start differenciating between direct and indirect LAN modes. indirect mode will use regular sockets and not pcap. --- melonDS.cbp | 6 +- src/Wifi.cpp | 4 +- src/libui_sdl/{LAN.cpp => LAN_PCap.cpp} | 0 src/libui_sdl/{LAN.h => LAN_PCap.h} | 8 +- src/libui_sdl/LAN_Socket.cpp | 977 ++++++++++++++++++++++++ src/libui_sdl/LAN_Socket.h | 38 + src/libui_sdl/main.cpp | 57 +- 7 files changed, 1081 insertions(+), 9 deletions(-) rename src/libui_sdl/{LAN.cpp => LAN_PCap.cpp} (100%) rename src/libui_sdl/{LAN.h => LAN_PCap.h} (93%) create mode 100644 src/libui_sdl/LAN_Socket.cpp create mode 100644 src/libui_sdl/LAN_Socket.h diff --git a/melonDS.cbp b/melonDS.cbp index 204ceda9..d5ffc227 100644 --- a/melonDS.cbp +++ b/melonDS.cbp @@ -158,8 +158,10 @@ - - + + + +