slowtec / tokio-modbus

A tokio-based modbus library
Apache License 2.0
396 stars 118 forks source link

Asyncronous responses / Multiplexing #197

Open JosuGZ opened 1 year ago

JosuGZ commented 1 year ago

Is is possible to keep multiple requests in flight with this library? Is it planned?

uklotzde commented 1 year ago

Contradicts with #196.

Is this even supported by the Modbus protocol? If so then please provide references how this could be achieved.

JosuGZ commented 1 year ago

I'm not sure if it is supported. In theory you can achieve that by matching request headers (on TCP) and keeping some queues.