[Overview][Constants][Types][Procedures and functions] | Reference for unit 'Sockets' (#rtl) |
Alias for TSockAddr record type.
Source position: socketsh.inc line 90
type sockaddr = packed record |
||
case Integer of |
||
0: ( |
||
sa_family: sa_family_t; |
|
Address family |
sa_data: array [0..13] of cuint8; |
|
Addres data |
); |
||
1: ( |
||
sin_family: sa_family_t; |
|
Socket family |
sin_port: cushort; |
|
Socket port |
sin_addr: in_addr; |
|
Socket address |
sin_zero: array [0..7] of cuint8; |
|
Padding bytes |
); |
||
end; |
sockaddr is used to store a general socket addres for the Bind, Recv and Send calls.
No notes exist for this page yet.