mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-09 17:44:56 +09:00
LibCore: Add definitions for socketpair in SocketAddressWindows.h
This commit is contained in:
parent
a274a50bb3
commit
e0576f4790
Notes:
github-actions[bot]
2025-02-05 23:08:54 +00:00
Author: https://github.com/stasoid
Commit: e0576f4790
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2673
Reviewed-by: https://github.com/ADKaster ✅
Reviewed-by: https://github.com/gmta
Reviewed-by: https://github.com/konradekk
1 changed files with 5 additions and 0 deletions
|
@ -29,6 +29,11 @@ typedef USHORT ADDRESS_FAMILY;
|
|||
#define AF_INET 2
|
||||
#define AF_INET6 23
|
||||
|
||||
#define SOCK_STREAM 1
|
||||
#define SOCK_DGRAM 2
|
||||
|
||||
#define INADDR_LOOPBACK 0x7f000001
|
||||
|
||||
enum IPPROTO {
|
||||
IPPROTO_TCP = 6
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue