diff options
author | justanothercatgirl <sotov@twistea.su> | 2025-02-08 22:13:52 +0300 |
---|---|---|
committer | justanothercatgirl <sotov@twistea.su> | 2025-02-08 22:13:52 +0300 |
commit | cab382db088d9f240253466a1c5a26c62f3967c8 (patch) | |
tree | c5502f1b49211dccd3e29e163e708708495a6407 /doc/PROTOCOLS | |
parent | 3eeee14d5d5c93ae3d156aabae5a96d1c09f185a (diff) |
TODO: Implement multiplexing in worker threads (UDP loops), implement
channel_pool interface.
Diffstat (limited to 'doc/PROTOCOLS')
-rw-r--r-- | doc/PROTOCOLS | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/PROTOCOLS b/doc/PROTOCOLS index c15a83d..996bf0c 100644 --- a/doc/PROTOCOLS +++ b/doc/PROTOCOLS @@ -72,11 +72,11 @@ permission required. arguments. Returns an array as follows: first 8 bytes are uint64 array_size, next 8*array_size bytes are channels. Last 8 bytes are zeroes (they are after the last channel). Possible memory layout (divided in 8 byte [64 bit] blocks): -| 5 | 69 | 70 | 71 | 72 | 42 | 0 | - ^ ^ ^ ^ - | |-start of data | |-leading zero - |-size of array |-end of data -1.3. Functions. +| 5 | 69 | 70 | 71 | 727 | 420 | 0 | + ^ ^ ^ ^ + | |-start of data | |-leading zero + |-size of array |-end of data +1.3. Functions. As the interface mainly uses `uint64` type for communications, there are 2 functions that are for some reason not present in linux api: `uint64 hton64(uint64)`: Host TO Network: convert uint64 to |