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
Release files for eoq3tcp 2.9.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| eoq3tcp-2.9.3.tar.gz | 6.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| eoq3tcp-2.9.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.7 kB
Release files / eoq3tcp-2.9.3.tar.gz
| Download URL | eoq3tcp-2.9.3.tar.gz |
|---|---|
| Size | 6.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
56b0982f8d64400c686a41a5f65344932cd2029787d472dce10379dd9e092058
|
|
BLAKE2b-256 checksum How to use checksums |
5a0bdc1204f486460abee43e93d24740571fda27d77f05b6efb7be5f9eb31f40
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.1
|
Release files / eoq3tcp-2.9.3-py3-none-any.whl
| Download URL | eoq3tcp-2.9.3-py3-none-any.whl |
|---|---|
| Size | 7.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6d3a57ba625ce45993333b5fe46d260de15793670c7196aebe25ddd7a196f597
|
|
BLAKE2b-256 checksum How to use checksums |
82ee3fd1a1ed11e6dfe571b2f810062c6dba5c01332aa79e31f4c92b1de3378b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.1
|