Commit Graph

17 Commits

Author SHA1 Message Date
Rickard Andersson
68f663ea85 fix(net): fix return type for send_tcp
Was `.Connection_Closed` but this is only inferrable if our return type
is not a sub-union of another.
2024-04-19 15:39:04 +03:00
Rickard Andersson
efc84cd390 docs(net): add comment about EPIPE -> Connection_Closed 2024-04-19 15:37:20 +03:00
Rickard Andersson
7b95562827 feat(net): turn EPIPE into Connection_Closed 2024-04-19 15:29:28 +03:00
Rickard Andersson
c44f618b7d fix(net): add NOSIGNAL to send options
This is a better default than not having it, since it turns errors that
would be signals into error values instead. We could take these as
options but given that we currently don't I think this at the very least
improves on the status quo.
2024-04-19 15:17:21 +03:00
flysand7
ff0e976ff3 [net]: Fix passing the wrong socket to on linux 2023-11-24 23:57:53 +11:00
Jeroen van Rijn
3b5d28f0ee Merge pull request #2948 from flysand7/fix-do
[core]: Remove `do` keyword from the core library
2023-11-11 13:16:12 +01:00
flysand7
270348b112 [core]: Remove do keyword from the core library 2023-11-11 20:36:38 +11:00
Divan Burger
c20839c461 Fix use of unitialized socket in socket_linux.odin#_dial_tcp_from_endpoint 2023-11-06 23:19:12 +02:00
flysand7
4d65b1ab9c Implement new sys/unix package 2023-10-27 10:51:21 +11:00
James Duran
fed0c2ea26 Fix Timeval for darwin and linux 2023-06-07 21:55:08 -07:00
Sokus
1ecab2fcbc Add set_blocking for network sockets 2023-03-08 13:30:12 +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