MCPcopy Create free account
hub / github.com/One-com/gone / isSocketInternal

Function isSocketInternal

sd/filetests.go:43–80  ·  view source on GitHub ↗

-------------------------------------------------------------------- Generic function to test whether an fd is of a specific type and whether it's listening. ignore listning test if wantListening = -1

(fd uintptr, sotype int, wantListening int)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 9

listeningUnixSocketPathFunction · 0.85
IsSocketFunction · 0.85
IsSocketInetFunction · 0.85
IsSocketUnixFunction · 0.85
IsUNIXListenerFunction · 0.85
IsTCPListenerFunction · 0.85
IsUDPListenerFunction · 0.85
IsListeningFunction · 0.85
IsSoReusePortFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected