sockaddr
Alias for TSockAddr record type.
Declaration
Source position: socketsh.inc line 84
Type
sockaddr = packed record
case Integer of
0: (
sa\_family : sa\_family\_t;
sa\_data : packed Array[0..13] of cuint8;
);
1: (
sin\_family : sa\_family\_t;
sin\_port : cushort;
sin\_addr : in\_addr;
sin\_zero : packed Array[0..7] of cuint8;
);
end
Description
sockaddr is used to store a general socket address for the FPBind , FPRecv and FPSend calls.