[Overview][Constants][Types][Procedures and functions][Variables] |
General socket adress record
Source position: socketsh.inc line 85
type TSockAddr = packed record |
||
case Integer of |
||
0: ( |
||
sa_family: sa_family_t; |
|
General socket address: Address family |
sa_data: array [0..13] of Byte; |
|
General socket address: Address data |
); |
||
1: ( |
||
sin_family: sa_family_t; |
||
sin_port: cushort; |
||
sin_addr: in_addr; |
||
sin_zero: array [0..7] of Byte; |
||
); |
||
end; |
TUnixSockAddr is used to store a general socket addres for the Bind, Recv and Send calls.