Fill Process on Windows

This commit is contained in:
2025-06-26 11:44:27 -05:00
parent 81f0d3be2e
commit dbfb7c1133
11 changed files with 659 additions and 62 deletions

View File

@@ -6,6 +6,7 @@ using HttpUtils = Tesses::Framework::Http::HttpUtils;
#if defined(TESSESFRAMEWORK_ENABLE_NETWORKING)
#if defined(GEKKO)
#define ss_family sin_family
@@ -24,9 +25,11 @@ using HttpUtils = Tesses::Framework::Http::HttpUtils;
#include <winsock2.h>
#include <iphlpapi.h>
#include <windows.h>
#include <afunix.h>
#undef min
#pragma comment(lib, "ws2_32.lib")
#else
extern "C" {
#include <netinet/in.h>
#include <netinet/tcp.h>

View File

@@ -114,7 +114,7 @@ namespace Tesses::Framework::Streams {
strm.Flush();
#if defined(_WIN32)
delete buffer;
delete[] buffer;
#endif
}
Stream::~Stream()