Source position: socket.inc line 128
function getsockname(
socket: cint;
addr: psockaddr;
addr_len: pcint
):cint;