mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-13 07:19:17 +02:00
- partial fix for Mantis #37253: use SOCKADDR_STORAGE provided by the WinSock2 unit (which also has the correct size)
git-svn-id: trunk@45693 -
This commit is contained in:
parent
56fdba2c9b
commit
25dc029d6d
@ -73,14 +73,6 @@ interface
|
|||||||
|
|
||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
|
|
||||||
type
|
|
||||||
SOCKADDR_STORAGE = record
|
|
||||||
ss_family: Int16;
|
|
||||||
__ss_pad1: array[0..47] of Byte;
|
|
||||||
__ss_align: Int64;
|
|
||||||
__ss_pad2: array[0..64] of Byte;
|
|
||||||
end;
|
|
||||||
|
|
||||||
const
|
const
|
||||||
HTTP_INITIALIZE_SERVER = $00000001;
|
HTTP_INITIALIZE_SERVER = $00000001;
|
||||||
HTTP_INITIALIZE_CONFIG = $00000002;
|
HTTP_INITIALIZE_CONFIG = $00000002;
|
||||||
|
Loading…
Reference in New Issue
Block a user