[Overview][Constants][Types][Procedures and functions][Index] |
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.
lazarus-ccr.sourceforge.net |