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.2.tar.gz (6.3 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.2-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for eoq3tcp-2.9.2.tar.gz
Algorithm Hash digest
SHA256 63789daa4b1346ca1df14b88a8ae2c10af53005151f0b93af2a98051678eda70
MD5 94a6839ef001facd9f78e9c9b84a3717
BLAKE2b-256 82a481ffa1139a4c132333940ce363bb685c5fb2a63e2d7535280928171a692c

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for eoq3tcp-2.9.2-py3-none-any.whl
Algorithm Hash digest
SHA256 17439b3b66c3f4d04d7243ba996ecc0dfaf50401b375f97939a47ae6b3ad4918
MD5 4050c08f9eb9b9837293cfcf22034bdf
BLAKE2b-256 77b42f49d6c01b5a80766b59975ce70de0b3b07f8666bcabfd8701921a7a9a2d

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