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.remoteCmdSerializer = "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.1.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

eoq3tcp-2.9.1-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: eoq3tcp-2.9.1.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.13.0

File hashes

Hashes for eoq3tcp-2.9.1.tar.gz
Algorithm Hash digest
SHA256 bcae9e142058cd01b71b4566b66b6329978fbd5b8397e55094ccf90decd5c1b9
MD5 cdeca67dd7589e6affdc1e185a313550
BLAKE2b-256 65a3dc536564ebd7114848d1d0f0609aa148090bc2dfcce42c6fa1bcea1a3427

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eoq3tcp-2.9.1-py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.13.0

File hashes

Hashes for eoq3tcp-2.9.1-py3-none-any.whl
Algorithm Hash digest
SHA256 aacd6819d6ead78ed727234c4ed7663366935099f13ab2097dff1efa626ebcd9
MD5 6c638a57b0e6d5231bda42254ad8ef34
BLAKE2b-256 4c6da9c54bac8bc1afd6a976df5288f02ddf37e14af3ebe11dc02e29b0a2a326

See more details on using hashes here.

Supported by

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