Windows API reference

closesocket

Closes a socket.

Library
Ws2_32.dll
Suspicion
low

Detection summary

closesocket has no direct Sysmon or kernel ETW event; only imports, user-mode hooks and surrounding behavior expose it.

Sources and documentation

Not yet human-reviewed. Page metadata generated .

Legitimate use

Browsers, games, IM clients, IT tooling and updaters.

Open closesocket in the interactive atlas