Skip to main content

TCP domain client and host

Project description

eoq3tcp - TCP domain client and host

A domain server makes a local domain accessible via TCP port.

A domain host connects to a remote domain using TCP.

Usage

Define serialization and timeouts

config = Config()
config = Config()
config.remoteCmdTxSerializer = "TXT" #or JSO
config.remoteCmdRxSerializers = ["TXT","JSO"] #or e.g. ["TXT"]
config.remoteFrmTxSerializer = "TXT" #or JSO
config.remoteFrmRxSerializer = "TXT" #or JSO
config.connectTimeout = 40

Host

Imports:

from eoq3tcp.tcpdomainhost import TcpDomainHost

Creating a TCP host domain that provides acces to another domain "localDomain", e.g. DomainWithMdb:

server = TcpDomainHost(localDomain,False,HOST,PORT,2**20,b'\x00',config)

Client

Imports:

from eoq3tcp.tcpdomainclient import TcpDomainClient

Connecting to a remote domain:

domain = TcpDomainClient(HOST,PORT,2**20,b'\x00',config)

Examples

See

  • pyeoq/Examples/Eoq3/BasicTcpServer.py and
  • pyeoq/Examples/Eoq3/BasicTcpDomain.py.

Documentation

For more information see EOQ3 documentation: https://eoq.gitlab.io/doc/eoq3/

Author

2024 Bjoern Annighoefer

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

eoq3tcp-2.9.3.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

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

eoq3tcp-2.9.3-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file eoq3tcp-2.9.3.tar.gz.

File metadata

  • Download URL: eoq3tcp-2.9.3.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for eoq3tcp-2.9.3.tar.gz
Algorithm Hash digest
SHA256 56b0982f8d64400c686a41a5f65344932cd2029787d472dce10379dd9e092058
MD5 4fd366820557623c0318dfbd6681c70d
BLAKE2b-256 5a0bdc1204f486460abee43e93d24740571fda27d77f05b6efb7be5f9eb31f40

See more details on using hashes here.

File details

Details for the file eoq3tcp-2.9.3-py3-none-any.whl.

File metadata

  • Download URL: eoq3tcp-2.9.3-py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for eoq3tcp-2.9.3-py3-none-any.whl
Algorithm Hash digest
SHA256 6d3a57ba625ce45993333b5fe46d260de15793670c7196aebe25ddd7a196f597
MD5 46f8f6e95d08267baf9cb0e31bf696ca
BLAKE2b-256 82ee3fd1a1ed11e6dfe571b2f810062c6dba5c01332aa79e31f4c92b1de3378b

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