Skip to content

Stopping an asynchronous server #2485

Answered by janiversen
amigian74 asked this question in Help
Discussion options

You must be logged in to vote

You need to use ModbusAsyncTcpServer instead and build your own logic around it.

You are effectively creating 2 async loops (2 asyncio.run) so they cannot see each other.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@amigian74
Comment options

@janiversen
Comment options

@janiversen
Comment options

Answer selected by janiversen
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants