Commit Graph

29 Commits

Author SHA1 Message Date
Laytan Laats
24ee35af28 nbio: add package 2026-01-11 20:21:25 +01:00
gingerBill
393fec2f66 Move WSAEVENT to types.odin 2026-01-05 11:48:19 +00:00
gingerBill
e154489f01 More formatting improvements 2026-01-02 11:32:39 +00:00
Ben Ryan
e2a0f4417f Add SIO_UDP_CONNRESET winsock constant 2025-11-26 20:40:38 +11:00
Ben Ryan
a5d9c87ac5 Add WSASendTo and WSARecvFrom 2025-11-16 23:56:54 +11:00
FourteenBrush
10b7bba25d Add LPFN_GETACCEPTEXSOCKADDRS to ws2_32.odin 2025-08-31 23:52:00 +02:00
Jeroen van Rijn
f1ce9f98d8 Re-add htonl and htons for those porting from C. 2025-06-06 13:13:34 +02:00
Jeroen van Rijn
4b36306674 Deprecate old @(deprecated) things. 2025-06-06 10:42:34 +02:00
Ben Ryan
cd417b0d1f Add windows bindings to support overlapped IO 2025-06-04 11:34:31 +10:00
Laytan Laats
ff7d55a8e1 net: rework errors to be cross-platform 2025-04-05 17:35:19 +02:00
Karl Zylinski
19f0127e55 Moved all packages in core, base, vendor, tests and examples to use new #+ file tag syntax. 2024-09-14 18:27:49 +02:00
Laytan Laats
1af84e082c add some wsa based additions to core:sys/windows 2024-04-04 17:09:12 +02:00
gingerBill
75c659fa41 Change stdcall -> system 2024-01-17 17:04:54 +00:00
gingerBill
89c50bbd82 Adhere to -vet-style 2023-08-08 16:01:22 +01:00
ryuukk
e1fae5b902 Fix attribute 2023-07-11 03:51:28 +02:00
ryuukk
20e5e95ff8 Deprecate htons, htonl, ntohl, ntohs 2023-07-11 03:45:08 +02:00
ryuukk
ccd5685cee Fix doc links 2023-07-10 05:57:12 +02:00
ryuukk
f0f8177a19 Add definitions for network byte order conversion procs 2023-07-10 05:56:26 +02:00
Jon Lipstate
236347b5bc retain runtime load sample 2023-04-04 23:11:01 -07:00
Jon Lipstate
c5d2b01923 remove runtime signatures to prevent ffi collisions 2023-04-04 23:03:19 -07:00
Jon Lipstate
6cba4d3483 iocp support 2023-04-04 00:42:38 -07:00
Jon Lipstate
738cf837de additional winsock apis, doc links 2023-04-04 00:32:34 -07:00
Jon Lipstate
24493e89ad WSAPoll 2023-03-28 22:17:39 -07:00
Colin Davidson
28f7f57247 manually start merging core_net 2023-03-01 07:58:30 -08:00
gingerBill
6c14586fff Add GetAddrInfoExW 2022-05-12 14:27:46 +01:00
Carwyn Nelson
c67c0789eb Add socket() function to windows ws32 bindings
It looks like this was missing from the winsock bindings. Odin contains
WSASocketW which I assume would also work for obtaining a socket, but
socket() is distinct and is what I was using, so I assume others will
want it too.
2021-11-10 15:55:50 +00:00
Carwyn Nelson
d8b1523161 Fix the windows binding for getaddrinfo
getaddrinfo should take a double pointer to ADDRINFOA instead of a single pointer. If you call the binding in its current state you will not get back a valid ADDRINFOA struct.

I have also changed the `node` and `service` params to be cstring to avoid having to do `transmute(u8) value`.
2021-11-10 15:15:40 +00:00
Jeroen van Rijn
5dfff51a40 Allow core:sys/windows to build on Windows only 2021-07-15 12:13:57 +02:00
gingerBill
6bd05ef5d7 Begin migration from sys/win32 to sys/windows 2020-06-26 19:11:34 +01:00