summaryrefslogtreecommitdiff
path: root/src/Client.zig
Commit message (Collapse)AuthorAge
* Use Client as var type instead of singletonpush-sqrvtkyntxqtRobby Zambito5 days
|
* Fix issue returning stack pointerRobby Zambito5 days
|
* Add broadcast initial interest using raw socketsRobby Zambito5 days
| | | | Use this from the relay message
* Update gatorcat dep and use bytes for broadcast messageRobby Zambito5 days
| | | | The latter is helpful for the lifetime of the message.
* Remove allocation for messagesRobby Zambito6 days
|
* Add comments and fix testsRobby Zambito6 days
| | | | | | | 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.
* fix use after freepush-tznmzxxxnnozRobby Zambito6 days
|
* Attempt to base64 encode the connection payloadRobby Zambito6 days
| | | | | | For some reason I am still getting this: 2025/05/10 16:37:06 Error decoding message: SGVsbG8gZGFya25lc3MgbXkgb2xkIGZyaWVuZA==::53475673624738675a4746796132356c63334d6762586b676232786b49475a79615756755a413d3daaaa
* Use slice for init, and add better error sets.Robby Zambito6 days
| | | | | 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 Zambito6 days
|
* (no commit message)Robby Zambito6 days
|
* (no commit message)Robby Zambito6 days
|
* (no commit message)Robby Zambito6 days
|
* Starting real connectionsRobby Zambito6 days
|
* Add CLI to specify dest for relay messagesRobby Zambito2025-04-19
| | | | The dest can be specified as a 4 char ASCII string, or as an IPv4 address.
* Rename Saprus to Client internallyRobby Zambito2025-04-14