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.0.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: eoq3tcp-2.9.0.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for eoq3tcp-2.9.0.tar.gz
Algorithm Hash digest
SHA256 6a4ed0a91e67fb2a68b48d96ce7cc9ecbf33bda477c257a3e101631916a8e2cb
MD5 6c89cf8edc427cb1ea3887c29e00d88a
BLAKE2b-256 1416281b4131d624a56436df3391a1f8407557f65942923a6211a6ec837ff9f0

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for eoq3tcp-2.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2a39000e122ce98e07a4ebd400dd1a0c28a3b882880aefc1ecca5aa0687e62fa
MD5 96a44170183abdf1067798a538250ac2
BLAKE2b-256 bf79a72d6def9dd7526ab16c13079ac1016e2722990e841890db50c1399d72ff

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