Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'util/sys/sys_windows.go')
-rw-r--r--util/sys/sys_windows.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/util/sys/sys_windows.go b/util/sys/sys_windows.go
index 186fa4bb..9b6d659f 100644
--- a/util/sys/sys_windows.go
+++ b/util/sys/sys_windows.go
@@ -12,6 +12,8 @@ import (
"github.com/shirou/gopsutil/v4/net"
)
+var SIGUSR1 = syscall.Signal(0)
+
// GetConnectionCount returns the number of active connections for the specified protocol ("tcp" or "udp").
func GetConnectionCount(proto string) (int, error) {
if proto != "tcp" && proto != "udp" {