Book-reader
|
18b4ce4e7d
|
fix Socket.get_option calling setsockopt instead of getsockopt (#2421)
* fix Socket.get_option
* `Socket.get_option` didn't properly call `getsockopt`, and `getsockopt` had an invalid signature.
---------
Co-authored-by: Christoffer Lerno <christoffer@aegik.com>
|
2025-08-19 11:36:18 +02:00 |
|
Zack Puhl
|
483fe62750
|
OpenBSD Sockets (#2353)
* native file testing for BSD
* basic OpenBSD socket port
---------
Co-authored-by: Christoffer Lerno <christoffer@aegik.com>
|
2025-08-02 23:15:53 +02:00 |
|
Boris Barbulovski
|
b5d0739de0
|
Add env::ANDROID to std.*
|
2025-04-16 17:47:49 +02:00 |
|
Christoffer Lerno
|
5c77c9a754
|
- Change distinct -> typedef.
- Order of attribute declaration is changed for `alias`.
- Added `LANGUAGE_DEV_VERSION` env constant.
- Rename `anyfault` -> `fault`.
- Changed `fault` -> `faultdef`.
- Added `attrdef` instead of `alias` for attribute aliases.
|
2025-03-15 20:10:47 +01:00 |
|
Christoffer Lerno
|
8b49e6c14d
|
Rename def to alias.
|
2025-03-13 11:22:27 +01:00 |
|
Christoffer Lerno
|
99cfaa1583
|
Refactor protocols.
|
2023-10-06 22:31:41 +02:00 |
|
Christoffer Lerno
|
a6cff5c2a5
|
Removal of old Network, added nonblocking set and async connect.
|
2023-09-02 17:39:51 +02:00 |
|
Christoffer Lerno
|
6c60b0d2a6
|
Update errno listings. Update ai flags in std::net. Fix incorrect socket error results on Win32. Change behaviour Socket set_option. TcpSocket/TcpServerSocket/UdpSocket. Rename "TimeDuration" to "Duration". Allow @if on enum values.
|
2023-08-19 22:41:54 +02:00 |
|
Christoffer Lerno
|
499c82b089
|
Updated indentation to C3 standard.
|
2023-07-26 14:01:24 +02:00 |
|
Pierre Curto
|
89e084938f
|
cross platform socket interface (#857)
* lib/std/net: add Network, Socket and Listener
Signed-off-by: Pierre Curto <pierre.curto@gmail.com>
* lib/std/net: add SocketOption
Signed-off-by: Pierre Curto <pierre.curto@gmail.com>
* lib/std/net: fixes for win32 and wasm
Signed-off-by: Pierre Curto <pierre.curto@gmail.com>
---------
Signed-off-by: Pierre Curto <pierre.curto@gmail.com>
|
2023-07-16 14:14:36 +02:00 |
|
Christoffer Lerno
|
d90fa5e292
|
Make errno implicitly convertible to int. Add getaddrinfo on all platforms. Fix addrinfo struct and sizes.
|
2023-06-22 02:06:37 +02:00 |
|
Christoffer Lerno
|
4c1edfb941
|
Dev (#777)
* The new @if directive.
|
2023-06-10 23:16:28 +02:00 |
|
Christoffer Lerno
|
172d561f07
|
Change syntax of $if, $assert, $include, $echo. Introduces $error
|
2023-05-06 12:18:00 +02:00 |
|
Christoffer Lerno
|
5ee0d52ff1
|
Deprecate :; in $if etc.
|
2023-03-20 01:03:54 +01:00 |
|
Christoffer Lerno
|
e09628b664
|
Added easings. Move of math to own folder.
|
2023-01-19 22:49:30 +01:00 |
|
Christoffer Lerno
|
ad48770977
|
Updated errno. Socket constants and some functions added. Fix error when a macro returns a void! and that macro is in turn set to a return. Removed too permissive casts to subarrays.
|
2023-01-06 12:46:58 +01:00 |
|