DataIn event not firing when expected
IPDaemon and IPPort can buffer data internally and only fire the DataIn events in certain situations. You can use this to control the event and only have it fire when you want it to. If the components do not have an EOL property value set, then the DataIn events will fire as soon as any data is received by the component. Otherwise, the DataIn event will only fire in these cases:
- EOL was not found in the buffered data, but MaxLineLength bytes have been received
- EOL was found in the data received
- The connection gets broken while data is buffered
We appreciate your feedback. If you have any questions, comments, or suggestions about this article please contact our support team at support@nsoftware.com.