Windows API reference

getsockname

Returns the local address bound to a socket.

Library
Ws2_32.dll
Suspicion
low

Detection summary

getsockname 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 getsockname in the interactive atlas