-
Notifications
You must be signed in to change notification settings - Fork 219
Open
Description
It looks like currently the return value from the read/write method (in scpi_interface_t) is not taken into account.
My use case:
I made an interface to a TCP socket, this all works. But when f.e. the connection gets disconnected while sending (and I return -1 in the write method), the scpi-parser keeps trying to send data like nothing happened.
I think it would be nice if it would handle this more gracefully, so I can recover from it more gracefully at a higher level.
I am on commit: 4e87990
jancumps
Metadata
Metadata
Assignees
Labels
No labels