Files
WT-Offline/native/wto-net/src/hook_config.h
T
N0VAN0M4LY 2428b34497 feat(native): route client traffic to the loopback service
Build the socket library and client-local port configuration for redirecting
traffic to the offline service. Accept HTTPS and the existing matching and
HTTP protocols on the same port. Route requests by the original host.
2026-11-25 05:02:34 +08:00

10 lines
294 B
C

/* Settings (wto_ws.cfg) and the run log (wto_ws.log) next to the DLL. */
#pragma once
#include <winsock2.h>
#include <ws2tcpip.h>
void config_load(HMODULE self);
void log_line(const char *format, ...);
void describe_address(const struct sockaddr *name, int length, char *text, size_t size);