Files
v2rayA/core
Markson Pigeonzilla Plus 2069b477d4 fix(windows): fix syscall.SetsockoptInt type mismatch on Windows
syscall.SetsockoptInt takes int (Linux) vs syscall.Handle (Windows)
as its first argument. The existing code used int(fd) which fails on
Windows where fd is uintptr and syscall.Handle = uintptr.

Fix: extract a platform-specific setSocketMark(fd uintptr) helper:
  - socket_unix.go (!windows) : calls SetsockoptInt(int(fd), ...)
  - socket_windows.go (windows): no-op (SO_MARK is Linux-only)
2026-07-02 21:32:37 +08:00
..
2026-05-02 11:58:21 +08:00