25 Commits

Author SHA1 Message Date
Laytan Laats
c10771305d net: implement OpenBSD and NetBSD support & add stubs for other targets & cleanup 2026-01-11 20:21:21 +01:00
gingerBill
842cfee0f3 Change Odin's LICENSE to zlib from BSD 3-clause
This change was made in order to allow things produced with Odin and using Odin's core library, to not require the LICENSE to also be distributed alongside the binary form.
2025-10-28 14:38:25 +00:00
gingerBill
7642e0a0e0 Require @(init) and @(fini) to be proc "contextless" () 2025-08-08 12:10:01 +01:00
PePerRoNii
42aa8ac383 Implemented _socket_info_error on peer_endpoint and bound_endpoint 2025-06-15 11:17:49 +07:00
PePerRoNii
7ba4427d52 added windows implementation 2025-06-11 12:57:22 +07:00
Jeroen van Rijn
bc86b50392 Replace default_tcp_options with constant (#5056)
Replace `default_tcp_options` with constant
2025-04-19 14:32:59 +02:00
Laytan Laats
ff7d55a8e1 net: rework errors to be cross-platform 2025-04-05 17:35:19 +02:00
Jeroen van Rijn
940da61869 Fix missing error when TCP connection refused.
Fixes #4867
2025-02-23 12:47:22 +01:00
Laytan Laats
5c63617191 net: fix leaking sockets in listen_tcp if an error occurs 2024-10-08 21:08:14 +02:00
Laytan Laats
d8af35f01e net: fix leaking sockets in dial_tcp if connect errors 2024-10-08 21:01:57 +02:00
gingerBill
327ca2ab71 Merge pull request #4261 from laytan/net-bound-endpoint
net: add `bound_endpoint` procedure
2024-09-19 12:53:42 +01:00
Laytan Laats
652557bfcd net: add bound_endpoint procedure 2024-09-17 22:22:19 +02:00
Karl Zylinski
3d7b924260 Fix a few incorrectly placed build tags. 2024-09-14 18:41:05 +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
Jeroen van Rijn
cc24d2de3e Merge pull request #3810 from Feoramund/freebsd-core-net
Port `core:net` to FreeBSD
2024-08-09 09:50:05 +02:00
Feoramund
fe754af13d Add new contribution notes to core:net 2024-08-05 03:05:49 -04:00
gingerBill
103eccf104 More style improvements 2024-06-29 19:23:58 +01:00
Sokus
1ecab2fcbc Add set_blocking for network sockets 2023-03-08 13:30:12 +01:00
Jeroen van Rijn
5c05038af0 Finish cleaning up core_net. 2023-03-03 17:26:44 +01:00
Jeroen van Rijn
5da5ebff13 More coalescing. 2023-03-03 17:12:21 +01:00
Jeroen van Rijn
798932523e Coalesce socket_windows 2023-03-03 15:21:40 +01:00
Jeroen van Rijn
d5ea492ef5 Make more private. 2023-03-03 13:00:43 +01:00
Jeroen van Rijn
96ac405952 Alignment + unnecessary allocator param. 2023-03-03 12:04:36 +01:00
Colin Davidson
64f200dc74 big error cleanup 2023-03-02 06:43:20 -08:00
Colin Davidson
28f7f57247 manually start merging core_net 2023-03-01 07:58:30 -08:00