aboutsummaryrefslogtreecommitdiff
path: root/src/message.zig
Commit message (Collapse)AuthorAge
* Clean API and add docsRobby Zambito9 days
|
* Update to Saprus 0.2.1Robby Zambito9 days
| | | | | | | | | | | | Handle management messages instead of letting them bubble up through the connection to the consumer. Right now, this just means handling ping messages by sending a pong. Also updated to follow the new handshake flow. The sentinel will mirror the ports instead of matching them. Now filters on the full source and dest ports, which are less likely to have erroneous matches.
* Add GPLv3Robby Zambito10 days
|
* Simplify tagged unionRobby Zambito2026-01-23
|
* things are SOOOO good....Robby Zambito2026-01-19
|
* Start adding connection messageRobby Zambito2026-01-19
|
* Write relay message to the networkRobby Zambito2026-01-19
|
* Arrange bytes for relayRobby Zambito2026-01-19
|
* Mostly done with parsing and serializing messagesRobby Zambito2026-01-17
|
* (no commit message)Robby Zambito2026-01-14
|
* (no commit message)Robby Zambito2025-11-14
|
* (no commit message)Robby Zambito2025-10-13
|
* it works well!Robby Zambito2025-09-23
|
* Fix extra bytes in connection message.Robby Zambito2025-05-11
|
* Add comments and fix testsRobby Zambito2025-05-10
| | | | | | | Also added networkBytesAsValue and restored bytesAsValue. These are useful for treating the bytes from the network directly as a Message. Otherwise, the init function would overwrite the packet type and length to be correct. I would like the message handling to fail if the message body is incorrect.
* Use slice for init, and add better error sets.Robby Zambito2025-05-10
| | | | | The slice sets us avoid allocating within the init function. This means init can't fail, and it also makes it easier to stack allocate messages (slice an array buffer, instead of creating a stack allocator).
* (no commit message)Robby Zambito2025-05-10
|
* (no commit message)Robby Zambito2025-05-10
|
* Remove bytesAsValueUncheckedRobby Zambito2025-05-10
| | | | Callers can instead use std.mem.bytesAsValue directly.
* Cleanup asBytes and test itRobby Zambito2025-05-10
|
* Simplify init interfaceRobby Zambito2025-05-10
|
* (no commit message)Robby Zambito2025-05-10
|
* Align the bytes instead of the structRobby Zambito2025-05-10
|
* (no commit message)Robby Zambito2025-05-10
|
* (no commit message)Robby Zambito2025-05-10
|
* (no commit message)Robby Zambito2025-05-10
|
* (no commit message)Robby Zambito2025-05-10
|
* (no commit message)Robby Zambito2025-05-10
|
* Break out the impl to a libRobby Zambito2025-04-13
This will make it easier to make a C library.