Commit Graph

118 Commits (ed3f5d8a69a2d6951c5be9afb88f77bd98c62978)

Author SHA1 Message Date
dahall e97896fda6 Updated project files 2022-07-16 19:30:05 -06:00
dahall 1371f43092 Updated package description for Ws2_32 2022-07-11 15:52:57 -06:00
dahall e84d1d269c Fixed bugs related to WSRESULT conversion 2022-07-11 15:50:58 -06:00
dahall 7791d773e4 Introduced `WSRESULT` as standard error for all WinSock functions -- similar to NTStatus 2022-07-11 10:42:39 -06:00
dahall ea1c63e76e Converted winsock return values to SocketError 2022-07-10 20:41:21 -06:00
dahall 78cabaa31f Separated WSA code into multiple files, changed return codes to SocketError (from .NET core libs) and added error handling functions. 2022-07-10 17:30:38 -06:00
dahall a4e391a5d3 Changed return values of some functions in ws2tcpip.cs to `int` when `Win32Error` was incorrect. 2022-07-06 18:22:32 -06:00
dahall 35936cb6ba Added missing constants to WSAEVENT 2022-07-06 18:21:46 -06:00
dahall 6fc117bedc LOTS OF BREAKING CHANGES TO WSA functions in Ws2_32: Changed return values of most functions to `int` instead of incorrect `Win32Error` 2022-07-06 18:21:14 -06:00
dahall c50c0bc686 Fixed incorrect type of SOCKET_ERROR (should be int) 2022-07-06 18:19:34 -06:00
dahall 350b2ec3a3 Moved IPPROTO to ws2def.cs from Winsock2.cs, added WSACHSGHDR and associate macros. 2022-07-06 18:19:05 -06:00
dahall 454ddaca60 Added a few items from mswsock.h 2022-07-06 18:17:21 -06:00
dahall 381e542883 Derived WSAEVENT from ISyncHandle 2022-07-05 20:22:34 -06:00
dahall 439477343b Added missing structures from ws2ipdef.h 2022-07-05 20:21:57 -06:00
dahall 46f90a2818 Added WSAIoctl<TIn, TOut> generic overload and ISyncHandle to WSAEVENT 2022-07-05 20:20:41 -06:00
dahall db6b4cecbc Added setsockopt generic overload 2022-07-05 20:19:30 -06:00
dahall 07e2e1ddfb Added SOCKADDR_IN6 to SOCKADDR conversion 2022-07-05 20:18:52 -06:00
dahall a2abe7a262 Added simplified overloads for WSAStringToAddress and WSAAddressToString 2022-07-05 14:26:33 -06:00
dahall 1c707725f2 Added SOCKADDR_INET operator to SOCKADDR 2022-07-05 14:26:00 -06:00
dahall a4a8d936e8 Added conversion operators to SOCKADDR_STORAGE with SOCKADDR_INET 2022-07-05 14:25:00 -06:00
dahall 298ea34914 Updated package readme files 2022-06-14 16:55:29 -06:00
dahall aa69db53fd Updated documentation and added package readme files. 2022-05-09 15:56:58 -06:00
dahall a517d536a3 Reworked all structures in IpHlpApi assembly to ensure size compatibility. (#296) 2022-05-04 15:35:49 -06:00
dahall 92e7ca7365 Fixed #297 - Incorrect value for `Ws2_32.IN6_ADDR.Loopback` 2022-05-04 11:22:32 -06:00
dahall dc6cea6de0 Moved most TargetFrameworks tags out of project files and into Directory.Build.props for easier maint. Also changed net462 build to net45 for greater compatibility. 2022-03-14 09:32:06 -06:00
dahall 667ab7cdad Updated project files 2022-02-23 11:55:19 -07:00
dahall 0a7fe3d60e Added `tcp_keepalive` struct to Ws2_32 2022-02-22 19:40:50 -07:00
dahall bc5693900c Added elements from mstcpip.h to Ws2_32 2022-02-15 16:00:51 -07:00
dahall d9f00186b0 Removed support for .NET 2.0, 3.5, 4.0 and 4.5, .NET Core 2.0, 2.1, and 3.0 since all are or shortly will be out of support. Added support for .NET 4.6.2 and 4.8. 2022-02-07 14:35:37 -07:00
dahall b9614e7eb2 Rolled version to 3.4.0 and added support for .NET 6.0 2021-12-27 16:34:25 -07:00
dahall 34580ccf7f Updated project files for 3.3.14 2021-10-25 21:49:50 -06:00
dahall 3f64f6d9d4 Added new functions from Win11 2021-10-25 18:35:13 -06:00
dahall 9d33eb2942 Updated project files 2021-07-21 18:37:05 -06:00
dahall a0da03387d Added winsock2 select function (#239) 2021-07-20 07:54:12 -06:00
NN 28822bab9e
Use explicit framework reference. Remove transitive TFM requirement. (#212)
Co-authored-by: NN <NN---@users.noreply.github.com>
2021-03-23 07:26:03 -06:00
dahall 8aa4e7d96e Updated package descriptions with briefer syntax 2021-03-07 11:24:58 -07:00
dahall 8eb8b174a1 Added explicit conversion from SOCKADDR_STORAGE to SOCKADDR_IN and SOCKADDR_IN6 2020-12-28 15:17:47 -07:00
dahall d119c5adbd Updated project information 2020-12-24 11:00:18 -07:00
dahall 4d71e6ce9b Updated project information markdown files with new format 2020-11-20 18:52:43 -07:00
dahall 04d33e7e1a Added support for .NET 5.0 (windows) 2020-11-13 16:55:23 -07:00
dahall ffc54378a7 Removed .NET 5.0 support until VS is updated 2020-10-26 18:36:24 -06:00
dahall 69bd276627 Added support for .NET 5.0 (windows) 2020-10-26 10:36:13 -06:00
dahall 7a4e9e136e Extended SOCKADDR explicit cast to SOCKADDR_IN6 so that if represented by a v4 IP address, it will convert it to IPV6 before casting. 2020-09-14 10:26:46 -06:00
dahall 4fea35cd9e Added SIZEOF_SOCKET_ADDRESS_LIST macro.
Added conversions from SOCKADDR_IN to SOCKADDR_IN6.
Added SOCKET_ADDRESS_LIST.Pack to convert structure to a packad memory
2020-09-12 12:10:44 -06:00
dahall 27b2cd3f37 Added methods to convert from IN_ADDR to IN6_ADDR 2020-09-12 11:58:16 -06:00
dahall c081cfa38c Updated project information files 2020-07-14 16:02:36 -06:00
dahall 28eaf62f3b Updated project information 2020-06-02 22:02:36 -06:00
dahall a124fb4531 MAJOR BREAKING CHANGE: Changed underlying type of HRESULT and NTStatus to Int32 and Win32Error to UInt32 (reversed) due to a major miss on my part in reading the header files. Sorry everyone. 2020-04-27 21:25:47 -06:00
dahall a49d08dbbc Updated project files for 3.2.6 2020-04-21 08:16:57 -06:00
dahall cae7678f91 BREAKING CHANGE: Corrected spelling of SOCKET_ADDRESS.lpSockaddr. Added WinSockIOControlCode class. 2020-04-17 18:04:39 -06:00