initial: Syntrex extraction from sentinel-community (615 files)

This commit is contained in:
DmitrL-dev 2026-03-11 15:12:02 +10:00
commit 2c50c993b1
175 changed files with 32396 additions and 0 deletions

View file

@ -0,0 +1,18 @@
//go:build !windows
package ipc
import (
"net"
"time"
)
// listen creates a Unix Domain Socket listener.
func listen(path string) (net.Listener, error) {
return net.Listen("unix", path)
}
// dial connects to a Unix Domain Socket.
func dial(path string) (net.Conn, error) {
return net.DialTimeout("unix", path, 2*time.Second)
}