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.
This commit is contained in:
1 parent
ddfc067874
commit
2428b34497
35 files changed
+3897
-23
No files matched your search
@@ -0,0 +1,9 @@
|
||||
/* 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);
|
||||
Reference in new issue
Block a user