Closed fauve-edf closed 5 months ago
The last pre-commit failures are unrelated. Please rebase on #217 or wait until this PR has been merged.
I would like to see this as well, I'm having issues where a write doesn't timeout forever.
Ping.
Just to make sure, this functionality isn't just replicating https://docs.rs/tokio-modbus/latest/tokio_modbus/client/tcp/fn.attach.html ?
Just to make sure, this functionality isn't just replicating https://docs.rs/tokio-modbus/latest/tokio_modbus/client/tcp/fn.attach.html ?
Indeed. Looks like this PR is obsolete.
What
Allows for creating a
Context
with a custom tokioTcpStream
.Why
I want to be able to configure the socket. For example, you could set connect, read, and write timeouts. Really you could go hog wild and do whatever you want.