Networking library for reactive-tools
Project description
reactive-net
Python library for managing network communications
Network messages are of three types:
Message
- Format:
<size u16><payload>
- This is not used in practice
- Format:
CommandMessage
- Format:
<code u16><size u16><payload>
- Format:
ResultMessage
- Format:
<code u8><size u16><payload>
- Format:
Command Messages
class ReactiveCommand(IntEnum):
Connect = 0x0
Call = 0x1
RemoteOutput = 0x2
Load = 0x3
Ping = 0x4
RegisterEntrypoint = 0x5
Output = 0x6 # called by software modules in SGX and Native
RemoteRequest = 0x7
- Not all the commands have a response! (ResultMessage)
RemoteOutput
andOutput
does not have response.
Result Messages
class ReactiveResult(IntEnum):
Ok = 0x0
IllegalCommand = 0x1
IllegalPayload = 0x2
InternalError = 0x3
BadRequest = 0x4
CryptoError = 0x5
GenericError = 0x6
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
reactive-net-0.2.tar.gz
(3.2 kB
view hashes)
Built Distribution
reactive_net-0.2-py3-none-any.whl
(16.0 kB
view hashes)
Close
Hashes for reactive_net-0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2aa4554765416c7ef0cf2a352c4ae23410a6d8ebfad1386d0a611f8e839979a3 |
|
MD5 | 5018f00e450229e152767cb57f48fc98 |
|
BLAKE2b-256 | bf22f2cb4322763aacd8e6c71601a231d1dbbc3daa50672b812ac5813125b178 |