Source position: IdWinsock2.pas line 2684
type LPFN_GETSOCKNAME = function(
const s: TSocket;
const name: PSOCKADDR;
var namelen: Integer
):Integer;