Windows API reference

getpeername

Returns the address of the connected peer.

Library
Ws2_32.dll
Suspicion
low

Detection summary

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