[Overview][Constants][Types][Procedures and functions] | Reference for unit 'Sockets' (#rtl) |
Internet socket address record
Source position: socketsh.inc line 64
type sockaddr_in = packed record |
||
case Boolean of |
||
false: ( |
||
sin_family: sa_family_t; |
|
Internet socket family |
sin_port: cushort; |
|
Internet socket port |
sin_addr: in_addr; |
|
Internet socket host address |
xpad: array [0..7] of Char; |
|
Padding bytes |
); |
||
true: ( |
||
family: sa_family_t; |
|
Address family |
port: cushort; |
|
Port number |
addr: cardinal; |
|
IP address |
pad: array [0..7] of Char; |
|
Pad data. Do not use. |
); |
||
end; |
sockaddr_in is used to store a INET socket addres for the Bind, Recv and Send calls.
No notes exist for this page yet.