You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the remote PLC closes the TCP connection, the library code still attempts to call write() and that causes a SIGPIPE on Linux.
This is difficult to trigger because of buffering.
The work around, for Linux, is to use send() instead of write() with MSG_NOSIGNAL as the flags argument. Unclear if there is a similar feature for Windows.
Does this work on BSD-like systems like FreeBSD or macOS?
The text was updated successfully, but these errors were encountered:
This may be related to #64.
When the remote PLC closes the TCP connection, the library code still attempts to call write() and that causes a SIGPIPE on Linux.
This is difficult to trigger because of buffering.
The work around, for Linux, is to use send() instead of write() with MSG_NOSIGNAL as the flags argument. Unclear if there is a similar feature for Windows.
Does this work on BSD-like systems like FreeBSD or macOS?
The text was updated successfully, but these errors were encountered: