Skip to main content

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
  • CommandMessage
    • Format: <code u16><size u16><payload>
  • ResultMessage
    • Format: <code u8><size u16><payload>

Command Messages

class ReactiveCommand(IntEnum):
    Connect             = 0x0
    Call                = 0x1
    RemoteOutput        = 0x2
    Load                = 0x3
    Reset               = 0x4
    RegisterEntrypoint  = 0x5
    Output              = 0x6 # called by software modules in SGX and Native
    RemoteRequest       = 0x7
  • Not all the commands have a response! (ResultMessage)
    • RemoteOutput and Output 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.3.5.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

reactive_net-0.3.5-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file reactive-net-0.3.5.tar.gz.

File metadata

  • Download URL: reactive-net-0.3.5.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.1

File hashes

Hashes for reactive-net-0.3.5.tar.gz
Algorithm Hash digest
SHA256 74d1f1ad619a126821f5f1b2cec88c9bbaf490f4198611a021dc36fe8ff7e285
MD5 cd1b3b2ec3c7075fd994e5578f309257
BLAKE2b-256 cc239efbe83238d49f08276fb97fc4ae18fa7dd51409395d37f19c280aac6cd6

See more details on using hashes here.

File details

Details for the file reactive_net-0.3.5-py3-none-any.whl.

File metadata

  • Download URL: reactive_net-0.3.5-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.1

File hashes

Hashes for reactive_net-0.3.5-py3-none-any.whl
Algorithm Hash digest
SHA256 1be2a3b6b686b91c2d4e74ed200a540e5815f8694131f6d6bfe396e1a22b0b46
MD5 9cf58a225139451f8ff85e2326362ddc
BLAKE2b-256 42eda30eab3aeaf4440509e06f43c2c37228db2150d110bd9d1b089256877f79

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page