Metadata-Version: 2.2
Name: eoq3tcp
Version: 2.9.3
Summary: TCP domain client and host
Author-email: Bjoern Annighoefer <bjoern.annighoefer@ils.uni-stuttgart.de>
Project-URL: Homepage, https://gitlab.com/eoq/py/eoq3tcp
Project-URL: Issues, https://gitlab.com/eoq/py/eoq3tcp/-/issues
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: eoq3

# 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

