aboutsummaryrefslogtreecommitdiff
path: root/core/net/socket_linux.odin
Commit message (Collapse)AuthorAgeFilesLines
* net: implement OpenBSD and NetBSD support & add stubs for other targets & ↵Laytan Laats2026-01-111-19/+28
| | | | cleanup
* Change Odin's LICENSE to zlib from BSD 3-clausegingerBill2025-10-281-1/+1
| | | | 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.
* Implemented _socket_info_error on peer_endpoint and bound_endpointPePerRoNii2025-06-151-4/+4
|
* added linux implementation NOTE: tcp_recv_error doesn't cover all casesPePerRoNii2025-06-111-0/+13
|
* Replace default_tcp_options with constant (#5056)Jeroen van Rijn2025-04-191-2/+2
| | | Replace `default_tcp_options` with constant
* net: rework errors to be cross-platformLaytan Laats2025-04-051-42/+43
|
* Add mDNS/Bonjour/Avahi (.local) support for WindowsJeroen van Rijn2025-01-271-1/+3
|
* net: fix leaking sockets in listen_tcp if an error occursLaytan Laats2024-10-081-13/+21
|
* net: fix leaking sockets in dial_tcp if connect errorsLaytan Laats2024-10-081-1/+2
|
* Merge pull request #4261 from laytan/net-bound-endpointgingerBill2024-09-191-0/+13
|\ | | | | net: add `bound_endpoint` procedure
| * net: add `bound_endpoint` procedureLaytan Laats2024-09-171-0/+13
| |
* | Fix a few incorrectly placed build tags.Karl Zylinski2024-09-141-1/+1
| |
* | Moved all packages in core, base, vendor, tests and examples to use new #+ ↵Karl Zylinski2024-09-141-1/+1
|/ | | | file tag syntax.
* add support for linux_riscv64 and freestanding_riscv64Laytan2024-08-201-2/+2
|
* Merge pull request #3810 from Feoramund/freebsd-core-netJeroen van Rijn2024-08-091-0/+2
|\ | | | | Port `core:net` to FreeBSD
| * Add new contribution notes to `core:net`Feoramund2024-08-051-0/+2
| |
* | Make all handles non-inheritable by defaultflysand72024-07-181-3/+3
| | | | | | | | | | The sockets are left as non-inheritable because they never should be inherited.
* | Even more style fixesgingerBill2024-06-291-2/+2
| |
* | Add another `-vet-cast` checkgingerBill2024-06-291-2/+2
|/
* fix(net): fix return type for `send_tcp`Rickard Andersson2024-04-191-1/+1
| | | | | Was `.Connection_Closed` but this is only inferrable if our return type is not a sub-union of another.
* docs(net): add comment about `EPIPE` -> `Connection_Closed`Rickard Andersson2024-04-191-1/+3
|
* feat(net): turn `EPIPE` into `Connection_Closed`Rickard Andersson2024-04-191-1/+3
|
* fix(net): add `NOSIGNAL` to `send` optionsRickard Andersson2024-04-191-1/+1
| | | | | | | 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.
* [net]: Fix passing the wrong socket to on linuxflysand72023-11-241-1/+1
|
* Merge pull request #2948 from flysand7/fix-doJeroen van Rijn2023-11-111-1/+3
|\ | | | | [core]: Remove `do` keyword from the core library
| * [core]: Remove `do` keyword from the core libraryflysand72023-11-111-1/+3
| |
* | Fix use of unitialized socket in socket_linux.odin#_dial_tcp_from_endpointDivan Burger2023-11-061-1/+1
|/
* Implement new sys/unix packageflysand72023-10-271-245/+221
|
* Fix Timeval for darwin and linuxJames Duran2023-06-071-4/+4
|
* Add `set_blocking` for network socketsSokus2023-03-081-0/+23
|
* More coalescing.Jeroen van Rijn2023-03-031-59/+48
|
* Coalesce socket_windowsJeroen van Rijn2023-03-031-24/+0
|
* Make more private.Jeroen van Rijn2023-03-031-11/+79
|
* Alignment + unnecessary allocator param.Jeroen van Rijn2023-03-031-5/+5
|
* big error cleanupColin Davidson2023-03-021-192/+11
|
* manually start merging core_netColin Davidson2023-03-011-0/+532