Skip to content

Commit

Permalink
WinSock missing a few constants. Fixed #1785.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikebattista committed Jun 13, 2024
1 parent b4dfd2f commit eebd555
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
6 changes: 6 additions & 0 deletions generation/WinSDK/manual/WinSock.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,11 @@ public static unsafe partial class Apis
public const int SIOCATMARK = 1074033415;

public const ushort POLLIN = POLLRDNORM | POLLRDBAND;

public const uint INADDR_ANY = 0;
public const uint INADDR_BROADCAST = uint.MaxValue

public const int SO_DONTLINGER = -129;
public const int SO_EXCLUSIVEADDRUSE = -5;
}
}
8 changes: 8 additions & 0 deletions scripts/ChangesSinceLastRelease.txt
Original file line number Diff line number Diff line change
Expand Up @@ -885,3 +885,11 @@ Windows.Win32.UI.WindowsAndMessaging.HDWP.Value...System.IntPtr => System.Void*
Windows.Win32.UI.WindowsAndMessaging.HHOOK.Value...System.IntPtr => System.Void*
Windows.Win32.UI.WindowsAndMessaging.HICON.Value...System.IntPtr => System.Void*
Windows.Win32.UI.WindowsAndMessaging.HMENU.Value...System.IntPtr => System.Void*
# Fixed #1785.
Windows.Win32.Networking.WinSock.Apis.ADDR_ANY added
Windows.Win32.Networking.WinSock.Apis.IN4ADDR_ANY added
Windows.Win32.Networking.WinSock.Apis.IN4ADDR_BROADCAST added
Windows.Win32.Networking.WinSock.Apis.INADDR_ANY added
Windows.Win32.Networking.WinSock.Apis.INADDR_BROADCAST added
Windows.Win32.Networking.WinSock.Apis.SO_DONTLINGER added
Windows.Win32.Networking.WinSock.Apis.SO_EXCLUSIVEADDRUSE added

0 comments on commit eebd555

Please sign in to comment.